From: liyu <liyu@ccoss.com.cn>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [Question] How to write one keyboard driver without changing hid-input?
Date: Mon, 26 Dec 2005 16:05:59 +0800 [thread overview]
Message-ID: <43AFA467.6050504@ccoss.com.cn> (raw)
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
reply other threads:[~2005-12-26 8:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43AFA467.6050504@ccoss.com.cn \
--to=liyu@ccoss.com.cn \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox