You can now add an on/off button to your Recalbox. The button can be a push button (also called "momentary switch") or an ON/OFF button.
Connect one pin to the GPIO3 (the fifth gpio from the top left), and the other to the ground on its right (the sixth gpio).
Finally, you must enable button support in the recalbox.conf file by adding one of these lines:
system.power.switch=PIN56ONOFF for an ON/OFF button
system.power.switch=PIN56PUSH for a push button
And you have a Recalbox that can be turned off/on with a single button!
¶ Add a reset button and an LED.
There is another option where you can add a reset button and an LED.
- In recalbox.conf, add/uncomment (by removing the ; at the beginning of the line) the following line:
- To wire the reset button to the Raspberry Pi GPIO:
- Connect one pin to GPIO2 (the third gpio from the top left)
- Connect the other pin to the same ground as the on/off button (the sixth gpio).
- The LED is connected to GPIO14 (the eighth gpio) as well as to the ground.
- Power+ on GPIO 3 (PIN 5)
- Reset+ on GPIO 2 (PIN 3)
- LED+ on GPIO 14 (PIN 8)
- Power-, Reset- and Led- on one of the masses (PIN 6, 9, 14, 20, 25, 30, 34 or 39)
Note that this only works with a push button for reset and an ON/OFF button for power
- Short press (off) : Turn on your Recalbox
- Short press (lit) : Exit the current emulator and return to the main menu
- Long press (lit) : Turn off your Recalbox (equivalent to doing
Turn off normally)
- Short press (off) : -
- Short press (lit) : Reset the game, as in the old days on the console
- Long press (on) : Restart your Recalbox (equivalent to