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

    Custom controller

    Scheduled Pinned Locked Moved Help and Support
    gpiocontroller
    3 Posts 3 Posters 2.1k 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.
    • TheEpicDarkLordT
      TheEpicDarkLord
      last edited by TheEpicDarkLord

      So I'm looking at making a portable retropie machine(I don't think specs matter for this question I will only say that I want to use a raspberry pi zero and that I know that stuff like ps1 games won't run well on it) and I was wondering if I get say 4 buttons and a joystick how do I connect them to the gpio pins where retropie will recognise them as a controller? I have a arduino uno if that helps

      caver01C 1 Reply Last reply Reply Quote 0
      • CapemanC
        Capeman
        last edited by

        Not sure how to do that over gPIO, but if you use a raphnet usbgame12 chip, you can wire it very easily over usb instead. This chip is very small (US postage stamp size) and fits easily into portable projects.

        http://www.raphnet-tech.com/products/usb_game12/index.php

        Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

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

          @theepicdarklord you wire switches to available GPIO pins and a ground pin. Then, you can run software that watches GPIO and converts the buttons/switches into keyboard commands or game controller input.

          Adafruit's Retrogame is a popular choice, but GPIOnext is becoming the better choice, as it will be more user-friendly and has a lot more options for keyboard, gamepad, and can even trigger commands.

          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.