nanogui: Keyboard events ...


Previous by date: 27 Oct 2000 18:44:17 -0000 Re: Keyboard events ..., Ritesh Saigal
Next by date: 27 Oct 2000 18:44:17 -0000 Re: Keyboard events ..., Ritesh Saigal
Previous in thread: 27 Oct 2000 18:44:17 -0000 Re: Keyboard events ..., Ritesh Saigal
Next in thread: 27 Oct 2000 18:44:17 -0000 Re: Keyboard events ..., Ritesh Saigal

Subject: Re: Keyboard events ...
From: "Greg Haerr" ####@####.####
Date: 27 Oct 2000 18:44:17 -0000
Message-Id: <00b301c04046$4e7431a0$15320cd0@gregh>

: So now my application does not quit on pressing escape or any of the
: function keys that generate "esc". Isnt there right now any way I can
: catch any special keys....

Yes, you can catch them.  However, they come across as multiple
keypress sequences.  So you've got to write your own little
state machine to parse out ESC [ A to mean left arrow, etc.

Regards,

Greg





: 
: Thanks & Regds,
: 
: Ritesh.
: 
: Greg Haerr wrote:
: 
: > : I am having trouble catching the keyboard special keys in my
: > : application. I am able to catch the following keystrokes...
: > : [a-z]
: > : [0-9]
: > : [<>;'[]-\=]
: > :
: > : I am unable to catch the following keys-
: > : [F1-F12]
: > : [Arrow-up,down,left,right]
: > : [Home,End,Pageup,Pagedn,Insert,Delete]
: >
: > Anything that starts with an ESC will cause Nano-X to quit,
: > unless you run "nano-X -e".  In addition, special decoding needs
: > to be written for the function keys, unless we write a scan-code
: > mode driver.
: >
: > Regards,
: >
: > Greg
: 
: --
: 
: *******************************************
: Meet MbTV and the Metabyte Networks Team at
: BROAD BAND WAGON, The Western Show
: November 29-December 1, 2000.
: Los Angeles Convention Center,
: Booth #3001 in the West Hall
: 
: Please contact Colleen Jones
: by phone at (510) 494-9700 x233
: or by email at ####@####.#### to
: schedule an appointment during the show.
: *******************************************
: 
: 
: 


Previous by date: 27 Oct 2000 18:44:17 -0000 Re: Keyboard events ..., Ritesh Saigal
Next by date: 27 Oct 2000 18:44:17 -0000 Re: Keyboard events ..., Ritesh Saigal
Previous in thread: 27 Oct 2000 18:44:17 -0000 Re: Keyboard events ..., Ritesh Saigal
Next in thread: 27 Oct 2000 18:44:17 -0000 Re: Keyboard events ..., Ritesh Saigal


Powered by ezmlm-browse 0.20.