flyinghead / flycast

Flycast is a multiplatform Sega Dreamcast, Naomi, Naomi 2 and Atomiswave emulator
GNU General Public License v2.0
1.37k stars 167 forks source link

Can't map DS4 stick as thubmstick input on android #1607

Open L1Q opened 3 weeks ago

L1Q commented 3 weeks ago

Platform / OS / Hardware: Android 11 on OnePlus 6

Github hash: b99b3450c

The same issue also happens on google play release version

Hardware: DualShock 4 v2 controller

Description of the Issue

The left stick is always registrered as dpad, the right stick is completely ignored. When trying to create a new mapping for thumbstick Up/Down/Left/Right, Dpad Up/Down/Left/Right appears as registered input. Previous DPad inputs become unmapped. It seems the "Physical Device" receiving inputs is "Android Virtual", maping any other device would not react to any physcial controller inputs at all. Connecting the controller via USB does not help.

Screenshots

All the "Physical Devices" detected when the controller is connected over Bluetooth:

Screenshot_20240821-182224

All the "Physical Devices" detected when the controller is connected with USB:

Screenshot_20240821-183657

L1Q commented 3 weeks ago

The same controller works fine over bluetooth on Sony Xperia XZ Premium running android 9.