public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Dzhus <mail@sphinx.net.ru>
To: linux-kernel@vger.kernel.org
Subject: Changing high kernel keycodes
Date: Mon, 31 Dec 2007 00:32:21 +0300	[thread overview]
Message-ID: <871w93oom2.fsf@sphinx.net.ru> (raw)

Greetings!

Some of the keys on my USB-HID keyboard generate scancodes which are
bound to big keycodes in `drivers/hid/hid-input.c` and
`include/linux/input.h`, like 418, 419 or 432. Is there any possibility
to change it (in runtime, without editing `input.h` and recompiling the
kernel)? Should `setkeycodes(1)` work today? I'm using 2.6.24-rc6-git4
kernel snapshot.

I've found several postings on lkml considering KDSETKEYCODE ioctl
functioning in kernel, but I'm not sure about how it is in recent
versions.

(Sorry if this is an offtopic here, point me to an appropriate
newsgroup/ml in that case.)
-- 
Happy Hacking.

http://sphinx.net.ru

                 reply	other threads:[~2007-12-30 22: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=871w93oom2.fsf@sphinx.net.ru \
    --to=mail@sphinx.net.ru \
    --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