You are not logged in.

#1 2011-01-30 14:42:08

oskarn
Member
From: Sweden
Registered: 2007-08-11
Posts: 27

[solved] Arrow keys on Thinkpad T61p generates wrong input events

The following events are generated when pressing the arrow keys (from xev):
Left: Left + Alt_R(113)
Right: Right + NoSymbol(114)
Up: Up + Print(111)
Down: Down + Super_R(116)

This causes problem with some applications, XBMC in particular interprets the left arrow key to Alt+Left, which results in in that I cannot move left in menus.

I have removed my .xmodmap file to see if that was the problem but it did not help.

Archlinux x86_64, Xorg 1.9.2, Linux 2.6.36, Thinkpad T61p

I have had this issue for a while now, I just haven't had the time to get to the bottom with this. I'm pretty sure the issue was not present 6 months ago when I programmed with SDL and X11. I think I would have noticed if the arrow keys was producing wrong input.

Last edited by oskarn (2011-01-30 22:28:59)

Offline

#2 2011-01-30 14:59:01

oskarn
Member
From: Sweden
Registered: 2007-08-11
Posts: 27

Re: [solved] Arrow keys on Thinkpad T61p generates wrong input events

I think this might be related to evdev. I found this thread:
https://bbs.archlinux.org/viewtopic.php?id=44311

I have had the same xorg.conf for years. I guess that might be the problem.

Offline

#3 2011-01-30 15:03:58

oskarn
Member
From: Sweden
Registered: 2007-08-11
Posts: 27

Re: [solved] Arrow keys on Thinkpad T61p generates wrong input events

Doh! I just changed the keyboard driver to "evdev" instead of "kbd" under InputDevice in xorg.conf and now it works! Just out of curiosity, anyone remembers when this change was made in Xorg to require a new keyboard driver?

Offline

Board footer

Powered by FluxBB