on my Laptop I got special keys for € and $ right at the arrowkeys.
Now I would like to set them up, as I always get the message "use setkeycodes e033 <keycode> to make it known."
in /usr/include/linux/input.h I found the keycodes for $(0x1b2) and € (0x1b3).
the manpage of setkeycodes tells me that the keycode should be in decimal.
but if I do
setkeycodes e033 435 for the €-key I get:
KDSETKEYCODE: Invalid argument.
and if I use the hex value:
setkeycodes e033 1b3
it is set to the escape char.
yet another question:
If I use xev, what is the connection between the keycodes of setkeycodes and the ones that are displayed by xev, as they are different. it seems like they are the ones of /usr/include/linux/input.h plus 8, a beeing 38 instead of 30 etc.
thx in advance
I have set the scancodes to keys below 255 now(202 and 203)
xev tells me now keycodes of 171 and 172, thats really confusing.
nevertheless when entering "xmodmap xmodmapfile" in /etc/X11/xinit/xinitrc the keys will not be loaded.
executing xmodmap manually works fine.
is there another way to modify the keytable with xmodmap on startup, for all users?