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

    Directly Wired Buttons?

    Scheduled Pinned Locked Moved Help and Support
    11 Posts 6 Posters 2.7k 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.
    • N
      Novan
      last edited by

      I was wondering if you are able to hook up buttons directly to the rasberry pi. I am trying to use a game gear case to make a self contained emulation machine. Currently I was trying to use an Adrunio reflashed with UnoJoy, but it just takes up to much room. I want to put a display on it eventually, but I know that takes up most/all of the pins on the raspberry pi. Any suggestions?

      1 Reply Last reply Reply Quote 0
      • S
        schmulkfuster
        last edited by

        I believe there are ways to connect things directly to the GPIO thingy but I'm still quite new to the hardware hacking scene so I can't be much help I'm afraid. I'm sure if you google something like "Raspberry PI Arcade connect buttons to GPIO" you'll find something useful

        1 Reply Last reply Reply Quote 0
        • FinheadF
          Finhead
          last edited by

          Here's a link that might be what your looking for.
          https://learn.adafruit.com/retro-gaming-with-raspberry-pi/buttons

          1 Reply Last reply Reply Quote 0
          • N
            Novan
            last edited by

            Exactly what I needed. Thanks.

            1 Reply Last reply Reply Quote 0
            • C
              cybermrc
              last edited by

              Hello, I'm trying to wire up credit, pause, exit, tab buttons to my Raspberry Pi with RetroPie but the above link is dead. Can anyone help please? Thanks!

              1 Reply Last reply Reply Quote 0
              • B
                Bionicman
                last edited by

                https://learn.adafruit.com/retro-gaming-with-raspberry-pi

                1 Reply Last reply Reply Quote 1
                • B
                  Bionicman
                  last edited by

                  Have mine set up with this, works pukka after a few tweaks in the .cfg

                  1 Reply Last reply Reply Quote 1
                  • C
                    cybermrc
                    last edited by

                    So I've copied over the Adafruit-Retrogame folder and set up the config file. It is set up to run at boot per the /etc/rc.local, but it doesn't appear to be pulling-up the GPIO pins I've assigned (I measured them with a volt-meter). What gives? Can anyone help?

                    1 Reply Last reply Reply Quote 0
                    • B
                      Bionicman
                      last edited by

                      Hi, i'm a command line novice but manged to stumble through and get it all set up, pic of my set up as it is.. i added couple of extra keys!

                      0_1479131793454_WP_20151020_005.jpg

                      0_1479131800974_WP_20151020_006.jpg

                      1 Reply Last reply Reply Quote 0
                      • C
                        cybermrc
                        last edited by

                        Thanks for all the replies!

                        I was able to get externally wired buttons to the GPIO inputs to work using the following links:

                        http://webcache.googleusercontent.com/search?q=cache:https://learn.adafruit.com/retro-gaming-with-raspberry-pi/buttons

                        and

                        https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-software

                        Trick for me was to build the retrogame C file using make... I did have to use "sudo nano retrogame.c", change a line (but didn't change any content), which caused the "m ake" program to recognize that retrogame.c was changed and then make it.

                        Thank you!

                        GtBFilmsG 1 Reply Last reply Reply Quote 0
                        • GtBFilmsG
                          GtBFilms @cybermrc
                          last edited by

                          @cybermrc I know I'm a luddite, but I'm afraid I went for the easy option:

                          https://shop.pimoroni.com/products/picade-controller-board

                          The whole lot (1 player anyway) done for you via a USB connection to the Rpi for £22.

                          Not as clever or cheap, but might be of use to the technically challenged like myself?!

                          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.