PS5 Dualsense Controller?

Has anyone used the new Sony PS5 Controller for FRC? It’s a lot more comfortable and familiar to use so I was hoping to purchase one for the upcoming season, but I’m not sure if it’s supported by Driver Station/WPILib. We use Java btw

I haven’t tried it yet, but I am planning to give it a shot. In the past, I have had luck using DS4Windows to emulate an XBox controller to make games work with the DualSense.

any luck? Or anyone else?

I just tested a PS5 controller on the Driver Station, and it seems to work:

Nothing lights up when I try using the touchpad, although a button does light up when I push down on it. I haven’t tested the rumble/haptic feedback features or the adaptive triggers, so I’m not sure if I’ll be able to get any of that working. Will be able to say more when I test it out on an actual robot tomorrow.

We got it working.
We needed to use ds4controller and keep that running in the background. To get the rumble feedback, we needed to call it an Xbox controller.

Once we did that, it worked perfectly with the ps4 controller() class.

I have to find the version (I think it was the forked then updated one), but will update this post when I do.

We got this woeking in Java. I have not tried CPP, Labview, or Python, but the results should be the same.

1 Like