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

    Gpio Pins input on Raspberry Pi 3, in Usb Keyboard Input

    Scheduled Pinned Locked Moved Help and Support
    arcade controlraspberry pi 3
    3 Posts 3 Posters 2.2k 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.
    • M
      MrMasterGenius
      last edited by

      Hello

      I want to build an Arcadeconsole for a Schoolprojekt.
      But my Problem is, i have no idea how to make Pin Inputs in Usb inputs, without using an controller ore somethink.
      is there a script ore somethink i can use?

      thanks fore helping

      caver01C 1 Reply Last reply Reply Quote 0
      • caver01C
        caver01 @MrMasterGenius
        last edited by caver01

        @MrMasterGenius You might have done a little more reading in the WIKI, as there is a section on GPIO inputs:

        https://retropie.org.uk/docs/GPIO-Modules/

        Not sure if that is what you mean by "Pin Inputs in Usb inputs" as using GPIO does not require USB.

        Also, Adafruit put together a software configuration they called Retrogame for triggering keys via GPIO that some folks use:

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

        Finally, I quite like mholgatem's GPIOneer utility. It basically does the same thing as Retrogame, but it has a web interface which is really nice and you can put in entire commands. I use it to trigger volume up and volume down commands using dedicated buttons and it works great!

        https://github.com/mholgatem/gpioneer

        GPIOneer does have an odd shutdown script issue on the Pi3, but there is a workaround described in the Issues section of the github repo.

        I am sure there are other python scripts that could be written to do the same thing. You do have some limitations with the number of GPIO pins avaialble (you won't be making a 4-player arcade cabinet with this technique) but for smaller setups it may be all you need.

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

        1 Reply Last reply Reply Quote 0
        • G
          Gosenbach
          last edited by

          You might also want to look into getting a usb encoder like this one:
          http://a.co/ejZbkRb

          Just wire up your buttons to the board and plug it into one of the usb ports. comes with all the wires even. for $12 it will save you a whole mess of headaches.

          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.