Option "ZAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
Dorkvader asked me to put this very thing into my code for the ADNS-9800 laser sensors were using for custom trackballs. I have a feeling that only vertical "ball scroll" will be supported in my 1.0 code release as horizontal looks to be tricky for windows. But who knows I may have figured it out in time for 1.0, but it will for sure be in 1.1.
Section "InputClass"
Identifier "Mouse0"
Driver "evdev"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "9"
Option "ZAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
EndSection
now if I press the button #9 I get a 360° free scroller! Thanks linux!
now if I press the button #9 I get a 360° free scroller! Thanks linux!
But you have to keep that button pressed, don't you?