flyinghead / flycast

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

Steam Controller not usable on Android #1629

Open segaretroboy opened 2 weeks ago

segaretroboy commented 2 weeks ago

Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.

Platform / OS / Hardware: Android on Oneplus 8 pro

Github hash: c575eac89

Hardware: Oneplus 8 pro and steam controller

Description of the Issue

When connecting a steam controller over bluetooth the emulator only sees a device for the virtual mouse, and none of the buttons or the joystick can be configured or used. Re-mapping inputs shows the controllers inputs are not under the mouse device as they all time out. From what I can tell the controller shows as both a controller and a virtual mouse, but flycast is only seeing the virtual mouse.

Debugging Steps Tested

Logs Gathered

Screenshots

Screenshot_2024-08-31-16-31-25-25_65c2d17d50e120d19246d3ee50ce680d

segaretroboy commented 2 weeks ago

I was doing some seperate research into this and it seems like it is a bit more complex to support than I thought, but it looks like Moonlight had code added to make the controller work, apparently it is in the wrong mode but it seems they got it working at some point. https://github.com/moonlight-stream/moonlight-android/issues/1062

This might be more in feature request territory than bug territory.

flyinghead commented 1 week ago

Thanks for the pointer. The main problem is I don't have a Steam controller to test with.