I've just started setting up an old MAME machine using GroovyArcade. I've being using MAME since the early years, and I can't believe how much easier this is to setup than DOS!
MY control panel has both a trackball, and a spinner. They are mounted upside down (so left is right, up is down). Under DOS I was able to add an option to the driver to flip all the directions.
The closest instructions I've found say that for Arch, you adjust the Section "InputDevice" in your /etc/X11/xorg.conf and add the following:
Option "FlipXY" "boolean"
Enable/disable swapping the X and Y axes. This transformation is applied after the InvX, InvY and AngleOffset transformations. Default: off.
Option "InvX" "boolean"
Invert the X axis. Default: off.
Option "InvY" "boolean"
Invert the Y axis. Default: off.
So it should look similar to this:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "FlipXY" "True"
EndSection
When I look at my xorg.conf file there aren't any sections for "mouse". I know both the trackball and spinner are recognized as mice, since I can move the point when it starts (just reverse directions). I know I can go into each game in GroovyMame and reverse the directions, but I'd much rather fix it from the start. Then it would be correct for everything.
Does anyone have any thoughts on this? Do I just add the above anyway? how do I know the device and driver?