[ltp] How to use the input interface?

Evgeni Golov linux-thinkpad@linux-thinkpad.org
Tue, 4 Dec 2007 20:39:48 +0100


On Tue, 4 Dec 2007 17:15:52 -0200 Henrique de Moraes Holschuh wrote:

> On Tue, 04 Dec 2007, Evgeni Golov wrote:
> > I can see KEY_VENDOR while running "input-events <n>" (when not in X),
> > so my hotkey_mask of 0x008c7fff looks fine (don't ask why exactly THIS
> > value). It's just Xorg who does not get the key?
> 
> Probably evdev is doing something stupid when it gets KEY_VENDOR.  Maybe it
> needs some XKB magic and love to map it to a X.org keysim?
> 
> Here I end up with a forward slash "/" if I hit KEY_VENDOR in a xterm, which
> seems to suggest the above to be the problem.

Yeah sort of. I bet we need to edit /usr/share/X11/xkb/keycodes/evdev
but I don't know how, are there any X hackers around?