Skip to content

Button Config (Manual)

Eugene Andruszczenko edited this page Jul 23, 2018 · 1 revision

RetroGame Configuration

Manually Edit file

Edit the RetroGame configuration file

sudo nano /boot/retrogame.cfg

You can replace the entire file with the following

  • pro tip: Hit CTRL+K on you keyboard to delete lines*
# Here's a pin configuration for the Gaboze Pocaio project:
LEFT            26  # Joypad left
RIGHT           13  # Joypad right
UP              19  # Joypad up
DOWN             6  # Joypad down
LEFTCTRL        14  # 'A' button
LEFTALT         27  # 'B' button
Z                4  # 'X' button
X               17  # 'Y' button
RIGHTSHIFT      22  # 'Select' button
ENTER           15  # 'Start' button
A                2  # Left shoulder button
S                3  # Right shoulder button
ESC             22 15  # Exit ROM; PiTFT Button 1

Hit 'CTRL+X' and 'Y' to confirm the save

EmulationStation Input Configuration

Manually Edit file

Open the EmulationStation Input configuration file

sudo nano ~/.emulationstation/es_input.cfg

Ensure that your file's content are exactly as below

<?xml version="1.0"?>
<inputList>
  <inputAction type="onfinish">
    <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
  </inputAction>
  <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
    <input name="pageup" type="key" id="1073742050" value="1"/>
    <input name="start" type="key" id="13" value="1"/>
    <input name="up" type="key" id="1073741906" value="1"/>
    <input name="a" type="key" id="97" value="1"/>
    <input name="b" type="key" id="1073742048" value="1"/>
    <input name="down" type="key" id="1073741905" value="1"/>
    <input name="pagedown" type="key" id="115" value="1"/>
    <input name="right" type="key" id="1073741903" value="1"/>
    <input name="x" type="key" id="122" value="1"/>
    <input name="select" type="key" id="1073742053" value="1"/>
    <input name="y" type="key" id="120" value="1"/>
    <input name="left" type="key" id="1073741904" value="1"/>
  </inputConfig>
</inputList>

Hit 'CTRL+X' and 'Y' to confirm the save