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

    Retropi + GPIO = Not Working (Using adafruit more info in post)

    Scheduled Pinned Locked Moved Help and Support
    gpioraspberry pi 3retropieadafruit gpioadafruit
    25 Posts 5 Posters 6.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.
    • hiulitH
      hiulit @Raccoon
      last edited by

      @raccoon Here you go:

      • https://github.com/adafruit/Adafruit-Retrogame/blob/master/keyTable.h
      • https://thenated0g.wordpress.com/misc-linux-info0/keys-from-usrincludelinuxinput-h/
      • https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h

      My little contributions to the RetroPie project:

      • Shell-Script-Boilerplate
      • Fun-Facts-Splashscreens
      • Limit-Last-Played-Games
      RaccoonR 1 Reply Last reply Reply Quote 1
      • D
        dizmodawg
        last edited by

        Is there some body who could make a youtube video on how to retrogame and program the buttons to the gpio pins? I'm almost done with my cabinet and i have a arcade only build and not want to use a game pad encoder. I want to use gpio pins but am a noob. Also i am using a pi 3. I found this and this is how i want mine.
        0_1509587421239_pins.jpg

        1 Reply Last reply Reply Quote 0
        • RaccoonR
          Raccoon @hiulit
          last edited by

          @hiulit Tanks!!! It worked :D

          hiulitH 1 Reply Last reply Reply Quote 1
          • hiulitH
            hiulit @Raccoon
            last edited by

            @raccoon Nice!! I'm glad it worked! :D

            My little contributions to the RetroPie project:

            • Shell-Script-Boilerplate
            • Fun-Facts-Splashscreens
            • Limit-Last-Played-Games
            1 Reply Last reply Reply Quote 0
            • B
              buntyfarmer
              last edited by

              Hi,

              I have followed much of the same process as on here, I have up/down/left/right/a/b/x/y all working ok.

              Start and select don't work however. In the config file I have the following:

              SELECT 6 # 'Select button'
              START 16 # 'Start button'

              I noticed in the list of commands does not include 'start' and 'select' (i looked at the kerTable. file referred to on adafruit tutorial) so maybe it should be SPACE and ENTER, I tried this but still does not work in emulationstation or when playing a game.

              Any ideas?

              I am just using arcade buttons and a joystick.

              Just to check, does the part after the # matter? I thought this was just a reference in the code to the person reading it so they knew what that button/PIN did.

              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.