-
-
Notifications
You must be signed in to change notification settings - Fork 9
Configurations
Eugene Andruszczenko edited this page Jul 2, 2018
·
2 revisions
cd
curl -O https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/retrogame.sh
sudo bash retrogame.sh
sudo nano /boot/retrogame.cfg
# Here's a pin configuration for the PiGRRL 2 project:
LEFT 26 # Joypad left
RIGHT 13 # Joypad Rightht
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
sudo nano ~/.emulationstation/es_input.cfg
<?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>