Re: [PATCH] input: Extend raw mode to work up to keycode 0xFF

From: Dmitry Torokhov
Date: Tue Dec 12 2006 - 10:55:06 EST


On 12/11/06, Florian Festi <ffesti@xxxxxxxxxx> wrote:
Hi, [please CC me, as I am not subscribed]

currently keycodes above 240 are ignored if the tty is in raw mode. To make the key codes from 241 to 255 usable for programs in raw mode (like X11) the still unused scancodes were
added into that range. Right know these scancodes are used in arbitrary order due the lack of a better alternative. Comments on a better way of using them are welcome.

This extension is needed for some keycodes I submited in a previous patch.


Values equal or greater 0xf0 (240) have special meaning in PS/2
protocol (aka rawmode) and therefore shall not be used for
transmitting keycodes. It looksl ike we have 0x1a0 range open
(although you will have to use evdev driver to get these keycodes,
which is not a bad thing).

--
Dmitry
-
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/