evdev driver and xmodmap
tom at dbservice.com
Wed Oct 5 07:54:42 PDT 2005
Ben Skeggs wrote:
> Am Mittwoch, den 05.10.2005, 16:10 +0200 schrieb Tomas Carnecky:
>>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.
> Yeah, I can confirm these same issues here with my MX1000. Also running
> Gentoo's modular releases.
> Evdev seems horribly broken in the modular release, especially when you
> try to use it for your keyboard as well :)
For keyboard the kbd driver seems to work.. no problems there.
If you want I can write a small HOWTO modify the evdev driver... it's
very simple.. you just have to find out what button numbers the xserver
generates for which mouse buttons, what the kernel generates for those
same buttons and then modify the evdev driver.
More information about the xorg