|
USB connection
(Thanks
to Andy L for his tips)
I use Debian Linux, with Linux kernel 2.4.26.
The standard PS/2 protocol module only seems to support three buttons.
I got the Perfit Mouse Optical to work with the "ExplorerPS/2" protocol module, (which
is apparently designed for some Microsoft mouse).
This is my device block from my XF86Config-4 file:
Section "InputDevice"
Identifier "PerfitOptical"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "6 7"
Option "Buttons" "7"
EndSection
Unfortunately, with this configuration the rocker-switch defaults to the
vertical scroll wheel, so the following line has to be executed after X
starts: (I put it in a script)
xmodmap -e "pointer = 1 2 3 6 7 4 5"
It would probably be better if there was a way to do this without
xmodmap, but if there is I don't know it.
Anyway, it works great. I love having all the buttons.
|