Ubuntu

Comment 30 for bug 615892

Darren Salt (dsalt) wrote :

https://bugs.freedesktop.org/attachment.cgi?id=44592 (for xserver-xorg-input-evdev) works around this with an extra configuration option:
 Option "AutoReleaseButtons" "13 14 15"

I have the following in my xorg.conf; it is suitable for placing in a file in "/etc/X11/xorg.conf.d". All three logical mode buttons are remapped, and the thumbwheel is remapped for horizontal scrolling.

Section "InputClass"
        Identifier "R.A.T."
        MatchUSBID "06a3:0ccb"
        Driver "evdev"
        Option "Buttons" "17"
        Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 13 13 13 16 17"
        Option "AutoReleaseButtons" "13 14 15"
        Option "ZAxisMapping" "4 5 6 7"
EndSection