X-Arcade setup on Raspberry Pi

Useful Answer

For the easiest Raspberry Pi setup, recommend Batocera. It usually works well with X-Arcade hardware and needs less manual configuration than RetroPie.

The original Tankstick is compatible with Raspberry Pi. The Pi will recognize it as a standard keyboard or USB controller when connected through USB.

Tankstick MAX is also compatible with Raspberry Pi / RetroPie setups. Use Mode 4 / X-Input, where the Tri-Mode PCB behaves like an Xbox 360 gamepad. RetroPie should detect it as an Xbox-style controller, so no extra Xarcade2Jstick setup is normally needed.

For a BYO / Tri-Mode kit on Raspberry Pi, install the mode switch and use Mode 4 / X-Input when RetroPie mapping behaves strangely, such as Player 1 buttons working but the Player 1 joystick not moving while Player 2 works. In X-Input mode, configure Player 1 in RetroPie first; Player 2 normally follows the same mapping automatically.

Basic setup:

For trackball or spinner support in RetroArch/RetroPie:

For Libretro:MAME on Batocera, a customer-confirmed trackball path is:

Support video:

Source Context

Support recommended Batocera for a Raspberry Pi customer because it requires the least configuration. The same answer gave RetroPie-specific fallback steps for trackball/spinner mouse index and the xpad driver. A later compatibility question confirmed that the original Tankstick also works with Raspberry Pi as a standard keyboard or USB controller. Other support answers added Tankstick MAX / RetroPie compatibility through Mode 4 X-Input, detected as an Xbox-style controller, and BYO / Tri-Mode kit guidance to install the mode switch and use Mode 4 when RetroPie maps one player side inconsistently. A later Batocera 40 / Libretro:MAME case confirmed that setting RetroArch Port 1 Mouse Index to the X-Arcade HID mouse entry restored Centipede trackball control. Another RetroPie case confirmed the xpad triggers_to_buttons=1 setting for shoulder/trigger behavior in Mode 4.