Dualshock 4 controller keymapping issue
-
Hardware: Raspberry Pi 4
Power supply: Canakit supplied power supply
RetroPie 4.5.4
Built From: Built on top of Raspian GNU/Linux 10 (Buster)
USB Connected devices: Logitech mouse dongle, MS Keyboard, PS4 Dualshock controller with light bar
Guide used: https://github.com/RetroPie/RetroPie-Setup/wiki/PS4-ControllerThe problems come when I try to configure one of the two PS4 dualshock controllers I bought. I had to setup ds4drv in order for the controller to be detected via bluetooth, but I'm able to replciate the problem with the controller connected directly via a USB cable.
When I try to configure the controller, I'm able to hold the L2 trigger to start the configuration. The first key to bind is the D pad up, I hit the button on the controller and nothing happens. I tried a number of other buttons and sometimes after I hit L2 again, I'm able to start the process of binding all the buttons, of course this puts Axis-3 from the controller as D pad up.
I've tried searching but my searches don't find anything similar happening.
-
ds4drv
is long gone, the Sony Dualshock 4 should work out-of-the-box without any driver installed - just pair it like a normal Bluetooth controller. Remove theds4drv
driver and re-pair it, then configure it in EmulationStation. -
I reset the controller, removed ds4drv, and was able to get the controller to connect via bluetooth. Unfortunately I'm having the same issue. When I start up emulationstation, I'm able to start the configuration of the controller. The only button that initally sets anything is the L2 button, and it reports something like AXIS-2. For the first couple of mappings, only a couple buttons will take. Then it starts letting me do the others like the D Pad up, which I think it lists as HAT 0.
I get the same problem when directly connected with a USB cable.
-
Is this a genuine DS4 (Sony) or a clone ? I have the same controller and it works without issues (wired or bluetooth).
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.