public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Question] How to write one keyboard driver without changing hid-input?
@ 2005-12-26  8:05 liyu
  0 siblings, 0 replies; only message in thread
From: liyu @ 2005-12-26  8:05 UTC (permalink / raw)
  To: LKML

Hi, everyone.

    I have a MS Natural Ergonomic Keyboard 4000 that have USB port.

    Under Windows XP, it work fine, however, Some extend keys do not 
work under Linux.
I found hid-input that do not report PRESS event to input-subsystem when 
such extend key
is pressed . I got this reason later, It map such "Zoom" key to 
KEY_UNKNOWN, and ignore them.
Its keymap is hard-coded.

    I try to write one driver for this keyboard now. but I found if we 
do not change or copy
hid-input.c, then I must write a lot of code to support it. Which guru 
wrote driver like
this under hid_input support? Would you like give some tips?

    I think this driver is simple. It only need we emit some event when 
key related is pressed,
do not need input event handler.
   
    Thanks in advanced.

-liyu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-26  8:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26  8:05 [Question] How to write one keyboard driver without changing hid-input? liyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox