Please do not post a support request without first reading and following the advice in

PS2 Dualshock 2 controller via GPIO - buttons not being read properly

  • Hello, so I am trying to make a portable retro game console out of a raspberry pi zero and a Playstation 2 Dualshock 2 controller as a christmas present. I am able to get the controller connected and recognized by the pi. However, my issue is that when I go to configure the controller, I keep getting a message that the button has already been taken. When I use the joystick testing utility, I find that some buttons on the controller are saying that there are actually two buttons being pressed. What can I do to fix this?

    Pi Model: B
    RetroPie Version Used: 4.1
    Built From: Pre made SD Image on RetroPie website
    USB Devices connected: Generic USB Keyboard
    Controller used: Playstation 2 Dualshock 2
    How to replicate the problem:
    Connect playstation 2 controller to gpio pins on raspberry pi B.

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.