The initial X configuration that I have was not set to work with the Microsoft PS/2 mouse that I have attached to the computer. I initially had lots of problems with X so I was just being safe by selecting a standard mouse when I was initially configuring X. However not having the middle button as well as the scroller is getting to me and my wife so I dig into X11 configuration
After going through some websites. I found out that its simply adding (or making sure) a line
Option "ZAxisMapping" "4 5"exists in /etc/X11/XF86Config. I nearly knock myself on the head because I saw the line and commented that out before. I was under the impression that the line had something to do with the resolution of the mouse or something but later found out it means the scroller up event is mapped to button 4 and the scroller down event is mapped to button 5. *DUH*.
So here is my paragraph that configures the mouse
Section "InputDevice"
Identifier "Generic Mouse1"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "imps/2"
Option "Buttons" "3"
Option "ZAxisMapping" "4 5"
EndSection
Also one thing to note is that i used "Device" "/dev/psaux" instead of "/dev/mouse" which many of the internet tips said to use. I donno why but when i used /dev/mouse my mouse either die or behave improperly.
Posted by zoo at February 18, 2003 03:06 PM