简体   繁体   中英

Android 12 DualSense/ DualShock support via Bluetooth

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM