Dualshock 4 drivers
-
With the latest build of retropie and raspbian it is possible to use the Dualshock 4 drivers with the built-in bluetooth. Is there a way to implement this into the next 4.0 release?
Thanks to nintendofreak18 I have managed to get it working on my RPI3
Here is my tutorial.
hopefully we can manage to put it into the next retropie release.Install Drivers
sudo apt-get install python3
sudo pip install ds4drvMake user allow create joystick
wget https://raw.githubusercontent.com/chrippa/ds4drv/master/udev/50-ds4drv.rules
sudo mv 50-ds4drv.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm triggerTest Joystick Connection
enter the code ds4drv --led 000008Now hold the Dualshock 4 share button and the playstation button for a few seconds until the lightbar starts to blink.
The controller will start to connect now.
If it connects ctrl + c to disconnect it from this test.Make boot sequence start up the DS4 driver
sudo nano /etc/rc.localadd the following right before exit 0
/usr/local/bin/ds4drv --led 000008 &Restart your pi3
sudo rebootNow it should connect as soon as you enter emulationstation
-
Unless someone submits it, it won't be done for 4.0 but could be implemented in the future.
-
@pattaboy I have followed your instructions and the contoller is pairing, however it is now not booting properly, I am stuck in a loop warning about signal strength and battery life?
Any idea what could be going on here?
-
@dudelebowski You shouldn't bump 4 years old topics - start a new topic instead. The information here is outdated - the driver in question is no longer maintained and Dualshock 4 controllers don't need a driver to work.
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.