By default, Retrogame has set the following controls to these pins:
Installing and building
To install Retrogame make use of the following steps:
1. Download Retrogame by typing git clone https://github.com/ada-
fruit/Adafruit-Retrogame.git and press Enter .
2. Change to the new directory by typing cd Adafruit-Retrogame . If you
need to make changes to the pin numbers or keys, type nano retrogame.c
and scroll to around line 75. You will see a line saying start here . Edit the pin
numbers and KEY_ commands , as instructed.
3. Build Retrogame by typing make retrogame and press Enter .
4. When it has finished building, type sudo ./retrogame to test your GPIO en-
To run it at bootup, Adafruit recommends that you add it to your rc.local file, as fol-