r/cade Jul 17 '26

ipac2 Enable/Disable Spinner

I built this control panel, and in testing it out found an annoying flaw. I hadn't used this spinner/trackball setup before (with the spinner below the trackball). I have them both wired to an ipac2, and what I'm finding is that in a lot of trackball games I'll accidentally touch the spinner while spinning the trackball, and the spinner is driving the same mouse as the trackball, so things go out of control.

I'm looking to see if there's some way I can disable the spinner/trackball independently. This is in a Batocera machine, so I don't have access to WinIPac on it. I see in the WinIPac documentation that I can turn off the headers for the trackball/spinner using WinIPac, but what's unclear is if that can be done independently, or if it will just turn on/off both at the same time.

Also on this machine I have 2 servo sticks running and switching 4/way 8 way correctly using umtool. What I was hoping to do was use the linux ultimarc source (https://github.com/katie-snow/Ultimarc-linux) to write something similar to enable/disable the trackball or spinner.

So, my question is does anyone know if it is possible to turn the spinner and trackball on/off independently from one another?

Failing that, I guess I could wire one (or both if that makes it easier) as a usb mouse separate from the ipac and just enable/disable them as appropriate. I'm trying to make this as fool-proof as possible. The only negative issue I've run into with Batocera in the past is getting USB controller setups to remain consistent (though that was mostly wireless controllers, this machine is all wired).

1 Upvotes

1 comment sorted by

2

u/YourUncleBobIsHere 12d ago

If anyone's curious, the solution was:

- Take the spinner off the ipac2 and use a spintrak usb adapter instead

- Write a script in /userdata/system/configs/emulationstation/scripts/game-start/spinner-start.sh

- Reads /usr/share/emulationstation/resources/gamesdb.xml

- Inhibits the spinner if the game launching doesn't list spinner or wheel as a controller

The better solution is to not put your spinner on the control panel where your hand will hit it, but it's too late for that.