Section "InputDevice" Identifier "Mouse1" Driver "evdev" Option "Buttons" "8" Option "bustype" "0x0003" Option "relBits" "+0+1+2" Option "product" "0x00e1" Option "vendor" "0x045e" Option "ZAxisMapping" "4 5" Option "DialRelativeAxisButtons" "7 6" EndSection
I have no idea what relBits is. It was already there before I got all the buttons to work.
You can see what to put for bustype, product and vendor here:
# cat /proc/bus/input/devices I: Bus=0003 Vendor=045e Product=00e1 Version=0111 N: Name="Microsoft Microsoft Wireless Optical Mouse? 1.00" P: Phys=usb-0000:00:1d.3-2/input0 S: Sysfs=/class/input/input2 U: Uniq= H: Handlers=mouse1 event2 ts1 B: EV=7 B: KEY=1f0000 0 0 0 0 0 0 0 0 B: REL=1c3
That makes the tilt wheel go back and forward in Firefox and scroll from side to side in other apps. To get your 8th button working (which for some reason, the system thinks is Button 9....there being no Button 8), install xbindkeys and create a ~/.xbindkeysrc and put something like this in it:
# Mouse Buttons "konqueror" m:0x0 + b:9
Hope this helps someone. I had to dig and dig and stumbled across this example config section on some site written in some foreign language I didn't even know what language it was, or if it was supposed to be a solution or a problem. Tried it and it worked. This may or may not work in 2007.

Help
MultiQuote









