Enable Button PCB for GameBoy Zero
-
Hi all,
I need you help again. I am freaking out. I have this button pcb
http://i.imgur.com/eFqFFyq.jpgI made it like discribed here:
http://sudomod.com/forum/viewtopic.php?t=57When I use putty and tet the command
sudo ./retrogameit says command unkown. Do you know something I made wrong? Or do you have an idea what else I can try?
I tried this too:
https://github.com/adafruit/Adafruit-Retrogame
and
https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-softwareBest wishes
Mike
-
@DrFreeman you are not typing a command. Sudo is just letting you use root permissions and ./retropie is just a folder. What are you trying to do?
-
oh really? I think I have to read about basic programming
well I tried to enable the button pcb like described here:
http://sudomod.com/forum/viewtopic.php?t=57"type:
cd /home/pi/Adafruit-Retrogame
then type:
make retrogame (This did not work - So I had to do one more step)
This should build the executable retrogame utility. If you instead get an error message, there’s a problem in the edited table — most likely a missing curly brace, comma or semicolon.
One more step is to create a custom udev rule which will allow retrogame input events to be visible to applications built using the latest SDL2 library. Some applications like the latest version of RetroPie's EmulationStation frontend require SDL2 and can't see input events from retrogame without this rule. It can't hurt to add this rule even if you aren't using EmulationStation or other SDL2 apps.To add the rule, run the following command to create and edit the file /etc/udev/rules.d/10-retrogame.rules in the nano text editor:
sudo nano /etc/udev/rules.d/10-retrogame.rules
Now copy in the following line exactly as shown (this should all be on a single line in the rules file, i.e. don't put in any linebreaks):
SUBSYSTEM=="input", ATTRS{name}=="retrogame", ENV{ID_INPUT_KEYBOARD}="1"
Save the file by pressing Ctrl-O and pressing enter, then exit nano by pressing Ctrl-X.
Restart your Raspberry Pi to make sure the new configuration is loaded.
sudo reboot
Now we’re in good shape to test it!
Navigate back to the Adafruit-Retrogame directory
cd /home/pi/Adafruit-Retrogame
Retrogame needs to be run as root, i.e.:
sudo ./retrogame (this did not work)
Give it a try. If it seems to be working, press control+C to stop the program and we’ll then set up the system to launch this automatically in the background at startup."
I still can not create this file mentioned in the first step
make retrogame
Best wishes
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.