Changing high kernel keycodes

From: Dmitry Dzhus
Date: Sun Dec 30 2007 - 17:06:23 EST


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
ã
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/