A slightly different mouse sidebutton problem
I'm having trouble figuring out how to configure my mouse's sidebuttons. I've searched the web (and this forum) for related posts, but I'm still lost.
I'm using a PS/2 mouse with 5 buttons and 2 scroll wheels (only 1 of the wheels works as a button). I want to get the 2 sidebuttons and, if possible, the second scroll wheel to work.
I'm using RH9 and imwheel doesn't exist, but the first scroll wheel works anyway. I am confused because every other post has imwheel mentioned somewhere in it.
Possible useful information:
#ls -l /dev/mouse /dev/psaux
lrwxrwxrwx 1 root root 5 Jun 24 00:28 /dev/mouse -> psaux
crw------- 1 root root 10, 1 Jul 30 14:26 /dev/psaux
XF86Config:
# I have just added 'Option "Buttons" "7"'
# and changed "ZAxisMapping" from "4 5" to "6 7".
# and changed "Protocol" from "IMPS/2" to "ExplorerPS/2"
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
EndSection
# xmodmap -e "pointer = 1 2 3 6 7 4 5"
# xmodmap -pp
There are 7 pointer buttons defined.
Physical Button
Button Code
1 1
2 2
3 3
4 6
5 7
6 4
7 5
After that, I opened a terminal and ran xev, and I can only see events from buttons 1, 2, 3, 4, and 5. What should I do next?
|