• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

How to configure Arcade Button connected to GPIO

Scheduled Pinned Locked Moved Help and Support
gpiocustom controlsarcade controlsconfiguration
10 Posts 7 Posters 49.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.
  • D
    davidgrohl Banned
    last edited by 7 Nov 2016, 10:04

    Hi everyone,
    I'm building my own arcade controller (Stick, 6 action buttons, 3 functional buttons) for retropie and i'm looking for some tutorial to configure controls connected to raspberry GPIO.
    Can you help me to find out what I need?
    Thanks for help.

    1 Reply Last reply Reply Quote 0
    • H
      hiulit
      last edited by 7 Nov 2016, 14:00

      Hey, I'm using Adafruit's Retrogame and it's working flawlessly. And it's super simple to set up.

      You can see more info in this tutorial https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-hardware?view=all

      Hope it helps! ;)

      My little contributions to the RetroPie project:

      • Shell-Script-Boilerplate
      • Fun-Facts-Splashscreens
      • Limit-Last-Played-Games
      D T K G 4 Replies Last reply 7 Nov 2016, 14:32 Reply Quote 0
      • D
        davidgrohl Banned @hiulit
        last edited by 7 Nov 2016, 14:32

        @hiulit said in How to configure Arcade Button connected to GPIO:

        Hey, I'm using Adafruit's Retrogame and it's working flawlessly. And it's super simple to set up.

        You can see more info in this tutorial https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-hardware?view=all

        Hope it helps! ;)

        I'll try as soon as possible. In case of trouble I'll tell you for help.
        Thanks!!!

        1 Reply Last reply Reply Quote 0
        • S
          simonster
          last edited by 7 Nov 2016, 18:32

          Hi @davidgrohl

          I used mk_joystick_rpi from https://github.com/recalbox/mk_arcade_joystick_rpi , it is a bit fiddly to set up (as you need to install the raspberry pi headers package first) but you can get joystick + 8 buttons for 2 players using just GPIO pins which allows you to have the equivalent of 2 SNES controllers using arcade controls.

          Si

          1 Reply Last reply Reply Quote 0
          • T
            TheStrayMongrel @hiulit
            last edited by 7 Nov 2016, 23:31

            @hiulit said in How to configure Arcade Button connected to GPIO:

            Hey, I'm using Adafruit's Retrogame and it's working flawlessly. And it's super simple to set up.
            You can see more info in this tutorial https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-hardware?view=all

            Same here, and it works well. Did have a few teething problems but the good folk here helped me out.

            Raspberry Pi 2 B+

            1 Reply Last reply Reply Quote 0
            • K
              kevreh @hiulit
              last edited by 28 Apr 2017, 16:15

              @hiulit The thing is if I add certain keys like 1p, 2p (keyboard numbers 1 and 2), those aren't presented as an option when I Configure Inputs. "Configure Inputs" is designed to setup a snes/xbox type control pad. ???

              C 1 Reply Last reply 2 May 2017, 15:25 Reply Quote 0
              • G
                guzforster @hiulit
                last edited by 2 May 2017, 13:22

                @hiulit said in How to configure Arcade Button connected to GPIO:

                Hey, I'm using Adafruit's Retrogame and it's working flawlessly. And it's super simple to set up.

                You can see more info in this tutorial https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-hardware?view=all

                Hope it helps! ;)

                I second that. I've used it and it works very well!

                1 Reply Last reply Reply Quote 0
                • C
                  caver01 @kevreh
                  last edited by caver01 5 Feb 2017, 16:26 2 May 2017, 15:25

                  @kevreh If you want to try another idea, check out holgatem's GPIOneer. It is similar to Adafruit's retrogame with the following improvements:

                  Interactive config lets you setup your buttons/joystick switches by pressing them.
                  Once configured, you can change the configuration via web interface.
                  Using the web interface, you can update the map to keyboard keys or input full bash commands! (great for volume, shutdown, etc.)
                  Using the web interface, you can actually COMBINE buttons by listing more than one GPIO pin, effectively setting up your own hotkey combos.

                  I really like GPIOneer. mholgatem is also very responsive and is working on a rewrite that will enable the software to behave like a keyboard controller or a gamepad--your choice.

                  My 4-player cocktail style cabinet built as a custom "roadcase"

                  K 1 Reply Last reply 2 May 2017, 15:45 Reply Quote 1
                  • K
                    kevreh @caver01
                    last edited by 2 May 2017, 15:45

                    @caver01 Hey thanks for that! I'm going to give it a try. I got Retrogame to work, even though the key names in the "Configure Input" sequence don't make sense. Maybe GPIOneer will be a little more logical.

                    C 1 Reply Last reply 2 May 2017, 16:35 Reply Quote 0
                    • C
                      caver01 @kevreh
                      last edited by 2 May 2017, 16:35

                      @kevreh Just keep in mind, the two methods conflict with each other, so I think GPIOneer turns off RetroGame. You can't use both at the same time.

                      My 4-player cocktail style cabinet built as a custom "roadcase"

                      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.

                        This community forum collects and processes your personal information.
                        consent.not_received