Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: bjhille on August 06, 2023, 01:52:36 pm

Title: Dual Spinners with Ipac2
Post by: bjhille on August 06, 2023, 01:52:36 pm
Hi everyone.  I'm hoping someone might be able to assist.

I purchased two SpinTrak spinners (along with knobs and weights and extension cables) a few buttons, and an Ipac2 to hook everything up.  This is going into a two player barrel cocktail cabinet.

I was told to hook up one SpinTrak to the Ipac2 and the other to the Y axis of the Trackball like the attached picture.  I had to switch two wires around because the Spinner hookup wants 5v, data, ground, data while the Trackball hookup wants 5v, data, data, ground.  Anyway, both spinners controlled the X-axis in windows so as you can imagine they both spinners controlled player 1.  I moved the Trackball Y spinner to the Trackball X hookup and now it works as one would expect in Windows.  One spinner attached to the Spinner hookup moves the mouse on the x-axis while the spinner attached to the Trackball X hookup moves the mouse on the y-axis.  Great, let's play some games.

So, in Mame now the Player 1 spinner (attached to the Spinner hookups) works as intended (using Mouse X for input).  For Player 2, I have to hit tab and indicate it should use Mouse Y.  I exit mame, go back in and hit tab to verify my setting are there and the Mouse X is still showing in bright text (like everything else), but for Player 2 the Mouse Y is still there, but it's grayed out and obviously doesn't work.

What am I doing wrong here?  Does the Spinner and trackball show up as different mice?  is that my issue?  Do I need to hook both spinners up to the X and Y axis of the trackball?

Please help.  Brian
Title: Re: Dual Spinners with Ipac2
Post by: bjhille on August 06, 2023, 02:34:17 pm
Figured it out...have to modify the cfg file to indicate MOUSECODE_#_YAXIS where # is the mousecode for the Ipac.  I still had my regular mouse attached.  That seemed to confuse things.

I don't understand the mechanics of why it was grayed out even with my other mouse attached or how it self-identified it wrong, but whatever.  Disconnecting my mouse and setting those mousecodes to 1 seems to have solved my issues.