For some reason, I want to use a trackball Logitech (aka Logicool) Marble Mouse (aka Trackman Marble) upside down. Is there a way to reverse the left and right rolling and up and bottom rolling respectively software-wise, without modifying the hardware? I tried this by writing a configuration file in /etc/X11/xorg.conf.g/
such as
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "8"
Option "XAxisMapping" "6 7"
Option "Emulate3Buttons" "true"
Option "ButtonMapping" "1 2 3 5 4 7 6 2 2"
EndSection
The crucial part is that I switched the keys 4 and 5 and 6 and 7 so that instead of:
Option "ButtonMapping" "1 2 3 4 5 6 7 2 2"
I have:
Option "ButtonMapping" "1 2 3 5 4 7 6 2 2"
But this is not working, and this maybe only valid for scroll wheel emulation mode. How can I reverse the rolling?
evdev
instead ofmouse
- have a look at http://linux.die.net/man/4/evdev - it may beInvertY
andInvertX
– Ulrich Dangel Jun 04 '12 at 03:50