nanogui: nano-X Keyboard Problem (Repeat, Key-Up Event)


Previous by date: 12 May 2006 15:25:53 +0100 Re: [nanogui] nano-X Keyboard Problem (Repeat, Key-Up Event), Klaus Fürth
Next by date: 12 May 2006 15:25:53 +0100 Re: LINK APP INTO SERVER, Robbie
Previous in thread: 12 May 2006 15:25:53 +0100 Re: [nanogui] nano-X Keyboard Problem (Repeat, Key-Up Event), Klaus Fürth
Next in thread: 12 May 2006 15:25:53 +0100 Re: [nanogui] nano-X Keyboard Problem (Repeat, Key-Up Event), Klaus Fürth

Subject: Re: [nanogui] nano-X Keyboard Problem (Repeat, Key-Up Event)
From: "Greg Haerr" ####@####.####
Date: 12 May 2006 15:25:53 +0100
Message-Id: <1d0001c675cf$f3f04e10$6401a8c0@winXP>

: So, what I want is:
: - add the GR_EVENT_TYPE_KEY_UP to the TTYKBD driver

You'll never get that, since the kernel doesn't tell you when the
key goes back up; this is why we wrote the SCAN driver in
the first place.



: OR
: - suppress the repeating GR_EVENT_TYPE_KEY_DOWN events from the SCANKBD 
: driver.

Likely you need to replace the scan code header file, this is 
included in the driver: drivers/kbd_scan.c.  Grab a PC manual and
determine what the code is for repeat, I think its just to
0x80 bytes in a row, indicating two keypresses without an upcode,
or vice versa.  If you kernel scancode configuration is too out
of whack with what is in the include .h file for the scancodes, this
might be an issue...putting debug code in the driver is my
first suggestion.

Regards,

Greg



Previous by date: 12 May 2006 15:25:53 +0100 Re: [nanogui] nano-X Keyboard Problem (Repeat, Key-Up Event), Klaus Fürth
Next by date: 12 May 2006 15:25:53 +0100 Re: LINK APP INTO SERVER, Robbie
Previous in thread: 12 May 2006 15:25:53 +0100 Re: [nanogui] nano-X Keyboard Problem (Repeat, Key-Up Event), Klaus Fürth
Next in thread: 12 May 2006 15:25:53 +0100 Re: [nanogui] nano-X Keyboard Problem (Repeat, Key-Up Event), Klaus Fürth


Powered by ezmlm-browse 0.20.