Configuring the X-Arcade Tankstick Red LED Button to Exit Games in RetroPie

1. Access RetroArch Settings:

2. Input Settings:

3. Configure Port 1 Controls:

4. Adjust Mouse Index:

5. Select Device:

6. Save Configuration:

7. Set Up Hotkeys:

8. Map the Red LED Button:

9. Enable Hotkey Button:

10. Exit Games Using the Red LED Button:

If this is not working for you, please try below method.

Custom Script Method (Special thanks to Gary from ArcadeWorkshop for creating this script)

This script will allow the red LED button to exit games. After installation, it creates a new menu item called "Red Exit Button" to enable or disable the feature.

Follow these steps:1. Connect your RetroPie to Wi-Fi, then press F4 to open the terminal.

  1. Download the script:
`wget` https://downloads.sourceforge.net/project/xgaming/exit_btn_setup.sh
  1. Make it executable:
`chmod +x exit_btn_setup.sh`
  1. Run the script:
./exit_btn_setup.sh

Also, ensure that port 1 control's mouse index is set to 'HID 1241:1111 for proper functionality.


Source article: <https://support.xgaming.com/support/solutions/articles/12000098733-configuring-the-x-arcade-tankstick-red-led-button-to-exit-games-in-retropie>