showkey and xev show different key codes
Bug #23432 reported by
Lauri W Ahonen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xev (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I tried to get mouse emulation to use the unneeded enter key as mousebutton2,
but ran into problems.
Steps to reproduce, bug appears every time:
Start xev on an ibook, press the button between right command and arrow left (I
think the key is named Enter).
Xev reports keycode 108. Press arrow down, xev reports keycode as 104.
As root, echo "108" > /proc/sys/
Now Enter should act as mouse2, but instead arrow down acts as mouse2! If I
enter 104 (the code for arrow down), the mouse2 functionality gets assigned to
pg up (aka. fn+arrow up, keycode 99).
I guess I could find the right code for Enter by trial and error, but this is
really annoying.
Changed in xev: | |
assignee: | nobody → pitti |
To post a comment you must log in.
This is on breezy badger.