Wheel Emulation on 2 Button Trackball
I have a generic trackball mouse with 2 buttons, I want to press both buttons and move the wheel, with results similar to that of a scroll wheel. The following is the relevant section of my xorg.conf
Code:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "4"
EndSection
The sticking point seems to be the 'EmulateWheelButton" option, when set to 3, I have the desired functionality, but not when I press both buttons, instead it works whenever I hold the right button. This obviously poses a problem as right-click functionality is quite important. The above configuration does not give me the scroll wheel functionality at all.
Anyone done this before or have any bright ideas?