19 May 2018, 04:34

I'm the process of putting together an adaFruit PiGRRL 2.0 project - essentially a portable arcade - https://learn.adafruit.com/pigrrl-2/overview

The project is developed around the use of RetroPie but I would prefer to use Recalbox.

The controller is a custom adaFruit Gamepad which requires an application called retrogame to convert button presses to keyboard strokes.
adaFruit Gamepad: https://learn.adafruit.com/pigrrl-2/gamepad
adaFruit Retrograme: https://github.com/adafruit/Adafruit-Retrogame

The github page for Retrogame has a section which talks specifically about RetroPie 2.0+ Compatibility:

RetroPie 2.0+ Compatibility

Note that by default retrogame won't work with SDL2 applications that depend on evdev for input events. Specifically this means applications like the latest version of RetroPie and EmulationStation won't be able to see key events generated by retrogame. However you can fix this issue by adding a small custom udev rule to make retrogame keyboard events visible to SDL2.

Connect to your Raspberry Pi in a terminal/SSH session and execute the following command to create and edit the file /etc/udev/rules.d/10-retrogame.rules:

How relevant is this in the context of Recalbox?

I have tried installing the retrograme binary myself and am able to get it to work ok within EmulationStation but as soon as I launch a game button clicks don't register.

Any suggestions on what I can try would be greatly appreciated.

Cheers

Gerard