[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 keyboard mode
> it seems there was some sort of undocumented "half cooked" mode
> in the Linux keyboard driver
Hmm. I think I wrote quite a lot of docs in the good old days.
But yes, the keyboard driver has raw mode, where you get the
keyboard scancodes (many X servers use this, and then have problems
with unusual keyboards), then there is mediumraw mode, where you
get the keycodes (some X servers use that), and then there are Latin
and UTF8 modes, where the keycodes are found in the keymap and the
bytes bound to it are returned.
For a trivial example of the use of mediumraw, see showkey.c
in the kbd package.
Andries
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/