How to map a arcade style joystick to retro-pi

Welcome Page Forums RetroPie Project Everything else related to the RetroPie Project How to map a arcade style joystick to retro-pi

This topic contains 2 replies, has 3 voices, and was last updated by  osnoogie 3 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #85756


    I am still green to the raspberry pi. I am reading a bit on how to add arcade style joysticks to the retro-pi using the GPIO. Simple question. WHen adding buttons and or joystick, the signal being sent from the pi back to the pi via GPIO the 3v+. 5v+ or -. IE when I press a button I am sending a negative or positive signal back to a GPIO pin. I think I have a good reference on how to achive this, but the diagram of GPIO only shows the Positive pins. But it references a common ground to use for all buttons and joysticks. This confused me a bit. If I am sending a negative signal back to the GPIO via the joystick or switch. Which pin should I use?



    You connect the positive pin and the common ground to the (normally open) switch. When it is closed, the Pi will see that the circuit was shorted and register the input.

    Does that answer your question?


Viewing 3 posts - 1 through 3 (of 3 total)

Forums are currently read only - please visit the new RetroPie forums at

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss