Re: 2.6.0-test1/2: keyboard funnies in textmode

From: Andries Brouwer (aebr@win.tue.nl)
Date: Fri Aug 01 2003 - 11:37:59 EST


On Fri, Aug 01, 2003 at 05:33:31PM +0200, Jurgen Kramer wrote:

> How can I check keycodes while in textmode?

The usual answer is "showkeys" for keycodes, "showkeys -s"
for scancodes. On 2.6 some cheating is involved, since the
driver first translates and then untranslates, so raw mode
is not exactly raw anymore, and replies may be wrong.

For the backslash/pipe key you expect scancode 0x2b
(in the default, translated scancode Set 2) and keycode 43.
X uses its own keycodes, maybe it will be 51, haven't checked.

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



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:16 EST