nanogui: Keyboard events ...


Previous by date: 27 Oct 2000 18:39:37 -0000 Re: Keyboard events ..., Jordan Crouse
Next by date: 27 Oct 2000 18:39:37 -0000 Re: Keyboard events ..., Greg Haerr
Previous in thread: 27 Oct 2000 18:39:37 -0000 Re: Keyboard events ..., Jordan Crouse
Next in thread: 27 Oct 2000 18:39:37 -0000 Re: Keyboard events ..., Greg Haerr

Subject: Re: Keyboard events ...
From: Ritesh Saigal ####@####.####
Date: 27 Oct 2000 18:39:37 -0000
Message-Id: <39F9CB74.D83229C3@metabyte.com>

Hi Greg,

Right now I have the keyboard driver modifed to NEVER return -2, which
is what ESC
has been special cased to do.

So in drivers/kbd_tty.c,
function TTY_Read, the following line does not exist.

if(*buf == 0x1b)
        return -2;

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....

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:39:37 -0000 Re: Keyboard events ..., Jordan Crouse
Next by date: 27 Oct 2000 18:39:37 -0000 Re: Keyboard events ..., Greg Haerr
Previous in thread: 27 Oct 2000 18:39:37 -0000 Re: Keyboard events ..., Jordan Crouse
Next in thread: 27 Oct 2000 18:39:37 -0000 Re: Keyboard events ..., Greg Haerr


Powered by ezmlm-browse 0.20.