nanogui: Keyboard Events
Subject:
Keyboard Events
From:
"Amit Kulkarni" ####@####.####
Date:
28 Dec 2000 16:08:36 -0000
Message-Id: <F164aLI9mK6PYzDabig0000a5c7@hotmail.com>
hi,
I am a bit confused about handling various keyboard events in case of nano-X
.
The documentation in the nanox.h file gives two examples of how events might
be generated for a particular sequence. Probably F10 and A
Also there is this provision of the "special" char which is unsigned int and
then various keys are defined as per that value(including arrow keys etc.)
But when any of the arrow,delete,end or similar keys are pressed the nano-X
server seems to suddenly die and reports no spcial errors.
Please explain how i can handle these keyboard events.
Especially explain the series of events generated for "delete" and "up
arrow" keys for instance.
I'd be extremely grateful if u also could show a sample C code to handle the
keyboard events (special ones like page up and page dn keys).
Regards,
Amit Kulkarni
Visit me at http://www.amitkulkarni.com
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.