Mandrake 9.0
the problem . Trust ami 250 sx optical mouse.ps/2
It has 3 buttons wheel and a further 2 side buttons.
I have got it all to work, these are the pertinent lines in XF86Config-4
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
This causes a slight inconvenience, it switches the wheel scrolling to the side buttons.
I tried Options "ZAxisMapping" "4 5"
But this does'nt work and switches off the side buttons.
Ok fixed it with xmodmap as follows
xmodmap -e "pointer 1 2 3 6 7 4 5"
Problem solved...
Almost
this means I have to execute this manually before I use mozilla or any other program which
permits scrolling.
In fact I made it a script and execute it via an Icon on the desktop.
What I would like to know is how can I get it to start automatically?
Tried /etc/rc.local
but does'nt work, I imagine because it executes before Xfree86.
Any Ideas