keycode above 127
Hi,
I'm trying to use some special keys on my keyboard but I can't get it to work.
I added the following two lines to my /etc/console-tools/default.kmap.gz:
----<snip>----
keycode 145 = TEST
string TEST = "echo test"
----<snap>----
and i removed the "keymaps" line. If i try to reload my keytable the following
error message appears, but only if the keycode value is bigger than 127:
/etc/init.d/keymaps-lct.sh restart output:
----<snip>----
Loading /etc/console-tools/default.kmap
loadkeys: /etc/console-tools/default.kmap:272: killkey called with bad index 145
----<snap>----
xev output:
----<snip>----
KeyPress event, serial 29, synthetic NO, window 0x1a00001,
root 0x26, subw 0x0, time 957286301, (94,47), root:(225,200),
state 0x0, keycode 145 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 characters: ""
----<snap>----
I think the problem is something with 7bit chars and 8bit ones, but i don't
know.
-timo
--
| Timo Benk
| Germany
| Registered Linux User #186431
| Fax/Voicemail: +49/0180 505258732297
Reply to: