Install PS4 controller with a USB cable
Get a list of my 24 favorites games (with links) to play on Retropie, Recalbox or Lakka
- Start with the Raspberry Pi turned off
- Plug the PS4 controller to a USB port with the cable.
- Boot the Raspberry Pi and wait for the Retropie configuration menu
- When the controller configuration wizard appear, hold any key to start the configuration
- Then hit each key as asked, to create the controller configuration
- Finally, click “OK”, the PS4 controller is ready to use
Install PS4 controller with the USB adapterSony released a USB stick to connect easily your PS4 controller to a PC or a MAC And it also applies for your Raspberry Pi As the Bluetooth method we’ll see after is difficult, and will not work in all cases, this may be a good alternative if you have one or can buy one (check the price on Amazon). With this adapter, you’ll be able to use your controller on any machine: PC, Mac, Raspberry Pi and of course PS4. Cheap products may work, but this one will avoid bugs, drivers problems and headaches 🙂 Once you have it, follow this procedure to make it work in Retropie:
- Plug the USB adapter on a free Raspberry Pi port
- As soon as you connect it, it should start to blink This means that it’s searching for a device
- Push the USB adapter a few seconds to put it in pairing mode The light should now blink faster The USB adapter is ready
- On the controller, press and hold the “Share” and “PS” key The controller also enters pairing mode
- A few seconds later, both should display a static light, they are now paired
Install PS4 controller via BluetoothThe last option is to connect your PS4 controller to your Raspberry Pi using Bluetooth only, without any USB stick On a Raspberry Pi 3B+ for example, you have a buil-it Bluetooth card, so you don’t need anything else But you need to know that this will not work with all Playstation 4 controllers In the Retropie documentation, they are not sure why, but they say that recent controllers seems to not work in Bluetooth whereas the “old” ones works fine Anyway, if you don’t have a Sony USB stick for the moment, you need to try this procedure and see what happens:
- Start with the Raspberry Pi turned off (it’s not mandatory, but it’s easier for me to explain)
- You need to have a keyboard plugged (or a Bluetooth one like mine)
- Then boot your Raspberry Pi
- When Retropie asks you for the controller configuration, use the keyboard Choose a key for each action, and remember at least what you selected for the navigation arrows, the start button and the A button
- Go to Retropie configuration
- Then in Retropie Setup
- Choose the Configuration / tools menu
- You should find a Bluetooth section in the next menu, click on it
- Click on “Register and Connect to Bluetooth Device“
- The wizard turns into “Searching” mode
- Simultaneously, turn your PS4 controller into “Pairing” mode Press and hold the “Share” and “PS” button The PS4 controller light starts to blink fast
- After a few seconds, the Bluetooth wizard shows you all available devices Select the PS4 controller in the list (for me it was “Wireless controller”)
- Choose the first option for the security mode (“DisplayYesNo” for me)
- You should get a success message like “Successfully registered and connected to <MACADDRESS>”
- That’s it. Exit the Retropie Setup menu and go back to the home menu
- In the home menu, click on your Start button to open the main menu
- Scroll down to select “Configure Input” and confirm you want to do this
- Then configure the PS4 controller by holding a button pressed 3 seconds Follow the wizard to configure each action and submit with “OK” You can now use your PlayStation 4 controller with the wireless mode!
Related QuestionsIs it possible to use a PS3 controller instead? Yes, it’s possible to use a PS3 controller. With an USB cable it should work directly. But for wireless mode you may need to install an additional drive (ps3controller in Retropie Setup > Manage drivers). Then follow the same Bluetooth association, but in the Configuration / Tools > ps3controller menu. Why is my right analog stick not working on N64 games? Like me, you don’t remember well the original N64 controller 🙂 The Nintendo controller had only one analog stick doing everything (move and camera), so you don’t need your right stick, even if you are used to playing with it for the camera
Reminder: Remember that all my Patreon supporters get access to this website without ads, early access to my videos and much more. You can become part of this community for as little as $3 per month & get all the benefits immediately.
Recommended hardware for Retropie power users
Grab your free PDF file with all the commands you need to know on Raspberry Pi!
- Retropie SD card: Save time and play directly to any game you want with this giant SD card preloaded with over 100k games
- Raspberry Pi 4: Retropie is now available for Raspberry Pi 4, and it’s excellent Why would you stay on a slower device?
- 8bitdo controller: This is currently the best controller for retro gaming on Raspberry Pi. All the latest technologies in a retro design. But for N64 games specially, you can use the Nintendo version here.
- SSD drive: if you have thousands of games and want to improve performances, a SSD will help you a lot, check this one from SanDisk on Amazon.