That is actually a 7-button mouse. The 5 you see plus the mouse wheel up/down.
Here is how mine was working: Code: Section "InputDevice"
# Trackball Explorer
Identifier "Trackball"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/usbmouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Resolution" "100"
Now to have the side buttons working you must install imwheel. This is my ~/.imwheelrc: Code: ".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
The ".*" is the window name, so you can have different functions for different windows.
And finally: Code: xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"
Run that whenever you start x (~/.xinitrc). 
__________________ "Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
|