flyinghead / flycast

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

Flycast reads only L2, R2 from wireless DualSense controller when run from Steam Library #1465

Open smbhax opened 3 months ago

smbhax commented 3 months ago

Platform / OS / Hardware: Windows 11

Github hash: 40cdef6

Hardware: wireless DualSense controller Intel Core i7-10750H CPU @ 2.69GHz (12 CPUs) 16 GB RAM NVIDIA GeForce GTX 1660 Ti S271HL NVIDIA High Definition Audio

Description of the Issue

When Flycast is added to the Steam Library and run as a non-Steam game, Flycast detects only the L2 and R2 inputs from the DualSense wireless controller; the DualSense shows up in Flycast's Controls - Physical Devices list as "Controller (XBOX 360 For Windows," but on the controller's Controller Mapping page, attempting to map a control to anything other than L2 or R2 times out.

Debugging Steps Tested

Logs Gathered

flycast - Copy.log

Screenshots: None

flyinghead commented 3 months ago

I don't know what's going on here but it's obvious that Steam is interfering with Flycast access to input devices. Flycast relies on SDL to access controllers so Steam might be using its own version, or this is done at a lower level. In any case, this is beyond Flycast's control.

smbhax commented 3 months ago

That's understandable. I suppose I brought it up because I've been able to map controls just fine with the DualSense in PCSX2, when launching that emulator through Steam in order to take advantage of advanced Steam Input functions. Those are being handled through SDL, according to PCSX2's input labels.