This is the config I have for a five button optical
mouse w/wheel on the ps/2 port,
Code:
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
I have a script in ~/.kde/Autostart that sets xmodmap when I 'startx"
[/code]
#!/bin/sh
xmodmap -e "pointer = 1 2 3 6 7 4 5"
[/code]
And another script in the same location that starts imwheel
Code:
#!/bin/sh
imwheel -k -b "67"
And this is my imwheelrc
Code:
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
With all of this I have all my buttons and the
wheel working and the side buttons are mapped to <Alt><Left> and <Alt><Right> for Forward/Back navigation in Konqueror, Netscape, Mozilla and Galleon.