RetroPie with Two Dual X-Arcade Joysticks
Repo for setting up RetroPie with two dual-joystick X-Arcades. Includes the configuration file, retroarch.cfg, which has been tested and works with the exact hardware and software setups below.
Hardware Requirements
- Raspberry Pi b+
- 2 X-Arcade Dual Joysticks
- ps/2 keyboard (old style keyboard connection, wikipedia)
Software Requirements
- RetroPie SD Card Image
- text editor
- a way to ssh into the Raspberry Pi
Steps to get it up and running
- Install RetroPie as per this fantastic lifehacker post.
- NOTE: Do NOT do step three
- SSH into your RetroPie and open retroarch.cfg
- location:
/opt/retropie/configs/all/retroarch.cfg
- location:
- Connect your second X-Arcade to a computer and the ps/2 keyboard to the x-arcade
- you only need to connect it to a computer to power the X-Arcade
- Follow X-Gaming's joystick programming instructions and program the second X-Arcade to match the Player 3 and Player 4 keyboard setups.
- Reboot RasPi
- Profit
A note on Arcade Mames
For whatever reason, the mapping doesn't match in Mame. For instance, for player one the joysticks are up/down/left/right, not the keypad numbers.
To fix, connect a keyboard to your RasPi and go update the system-wide controls while inside any MAME game by hitting tab
. Test your games...I ran into a few other MAME's that needed updating.
Just do it. You know this is your whole weekend plan anyway.
What's different in this retroarch.cfg
Configuration for four players:
This programming matches my X-Arcade configuration.
input_exit_emulator = esc
input_player1_a = z
input_player1_b = shift
input_player1_down = keypad2
input_player1_l = space
input_player1_left = keypad4
input_player1_r = x
input_player1_right = keypad6
input_player1_select = num5
input_player1_start = num1
input_player1_up = keypad8
input_player1_x = alt
input_player1_y = ctrl
input_player2_a = e
input_player2_b = w
input_player2_down = f
input_player2_l = q
input_player2_left = d
input_player2_r = [
input_player2_right = g
input_player2_select = num6
input_player2_start = num2
input_player2_up = r
input_player2_x = s
input_player2_y = a
input_player3_a = keypad0
input_player3_b = o
input_player3_down = k
input_player3_l = enter
input_player3_left = j
input_player3_r = t
input_player3_right = l
input_player3_select = num7
input_player3_start = num3
input_player3_up = i
input_player3_x = rshift
input_player3_y = rctrl
input_player4_a = keypad5
input_player4_b = m
input_player4_down = n
input_player4_l = h
input_player4_left = v
input_player4_r = keypad7
input_player4_right = u
input_player4_select = num8
input_player4_start = num4
input_player4_up = y
input_player4_x = keypad1
input_player4_y = b
What buttons am I smashing?
This is what X-Arcade uses for it's default button-to-keyboard mapping
This is the setup for what the system understands you to be clicking:
Create your own chart!
Thanks
- Original solution to get one controller set working - thank you Thex!