Android 12 DualSense/ DualShock support via Bluetooth

669 views Asked by At

Android 12 added some new nice features to the controller API like rumble support. In Android 12 it's also possible to process the gyroscope and touchpad inputs from a DualSense/ DualShock controller via Bluetooth. How can an app process touchpad and gyroscope data from a DualSense/ DualShock controller? The official Remote Play app from Sony is able to do that but in my app for example the controller touchpad always acts as a mouse input (and even shows a mouse pointer inside the activity) and I don't know how to disable that. Does anyone already have experience with this or are there examples available anywhere which I didn't found?

1

There are 1 answers

1
DenverCoder9 On

This is probably doable with WebHI. I am aware of a project that provides a WebHID-based driver, so you can get access to the sensors in the controller.