RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Enable Button PCB for GameBoy Zero

    Scheduled Pinned Locked Moved Help and Support
    button pcb
    3 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DrFreeman
      last edited by DrFreeman

      Hi all,

      I need you help again. I am freaking out. I have this button pcb
      http://i.imgur.com/eFqFFyq.jpg

      I made it like discribed here:
      http://sudomod.com/forum/viewtopic.php?t=57

      When I use putty and tet the command
      sudo ./retrogame

      it 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-software

      Best wishes

      Mike

      edmaul69E 1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @DrFreeman
        last edited by

        @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?

        1 Reply Last reply Reply Quote 0
        • D
          DrFreeman
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          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.