Sam Lantinga
Sam Lantinga
It seems to be happening when Steam switches the controller to simple report mode. Something about that process seems to occasionally wedge the controller so it doesn't generate inputs until...
Actually Steam is just disabling reports entirely so DirectInput and WGI games don't get spammed with garbage input. Fortunately, this is easy to fix for SDL applications.
Nope, it's working here. Are you able to repro with testgamecontroller? That's what I've been testing.
Can you debug and see why testgamecontroller works and your app doesn't?
Is this still an issue with the Steam beta update dated 8/4 or newer?
Can you debug why it's an issue in your application and not in testgamecontroller?
Threads are the only thing off the top of my head that are needed, but it looks like you have those enabled. By the way, I highly recommend shipping SDL2.dll...
I'm bumping this out of the current milestone so you have time to investigate in more detail.
However, you're welcome to use the attached patch in your code, if you're comfortable with the drawbacks.
You're welcome to create a callback approach, but please create a new issue and/or pull request for that, since it's fundamentally different from this one.