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 asSection 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 2EndSectionThe 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 2I have:    Option ButtonMapping 1 2 3 5 4 7 6 2 2But this is not working, and this maybe only valid for scroll wheel emulation mode. How can I reverse the rolling?
Reversing the direction of a trackball
configuration
In gaming we just refer to this as invert mouse.From the Xorg mouse(4) man page:Option InvX boolean    Invert the X axis. Default: off. Option InvY boolean    Invert the Y axis. Default: off. 