lkml.org 
[lkml]   [2005]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[Question] How to write one keyboard driver without changing hid-input?
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-26 09:10    [W:0.028 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site