evdev driver and xmodmap
Tomas Carnecky
tom at dbservice.com
Wed Oct 5 07:10:25 PDT 2005
somehow don't work very well...
"pointer = 1 2 3 ..." or "pointer = 1 3 2 ..." didn't change my mouse
buttons as reported by xev. in both cases left,right,middle have been
reported as 1 2 3.
However, "pointer = 1 4 5 3 2 ..." changed the middle and right button.
But "pointer = 1 4 5 2 3 ..." didn't.
Also, whenever I got the middle/right button working correctly, the
mouse wheel directions were flipped, meaning wheel up caused scrolling
down and vice versa.
And now try to test all the possible permutations with 32 buttons.. I
quickly gave up ;) I've ended up modifying the evdev driver itself to
get my mouse buttons working.
Also, as soon as I find out how to get the number of buttons, I'll try
to make a patch that removes the hardcoded number (32). Anyone has an
idea or it already working on it?
btw, I'm running gentoo with the xorg-server as provided by portage,
meaning 7.0 RC0 patched with
xorg-server-0.99.1-update-to-CVS-HEAD-20050907.patch.gz
tom
More information about the xorg
mailing list