Released today: ArcadeJoySwitch
A GUI tool to setup servo controlled joyswitch switching for 4 way or 8 way modes, depending on the game that is started from within Attract Mode. It installaties the ArcadeJoySwitch.nut plug-in in the plug-ins folder. From there it calls the joyswitch executeble that receives the game name drom attractmode. The game name is compared with a small database to find the joystick mode. The joystick mode (2, 4 or
is send via a serial USB cable to an arduino.
A arduino file is available that you van program to any arduino. On pin 9 you can connect your servo that moves your joystick from 4 way to 8 way.
How: look at the tutorial on future-eggs.com
The ArcadeJoySwitch asks the used for the Attract mode executable and the MAME executable. From that an XML is generated that contains all game information. The. From this XML the joystick modes are retrieved per game. This info is stored in database.pkl.
The USB port that communicaties with your arduino is stored is settings.dat. The main.exe uses that information to perform its taak.