You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, the recent work on gamepads is much appreciated and has been perfect for my current project. Thank you!
There is an issue that I'm able to consistently recreate when unplugging a non-gamepad usb device from my windows PC. It's not every time, but often the first or second time. The devices that I've tried with were a usb hub, keyboard, and mouse.
The loop appears to be in GamepadListenerProc and it's repeatedly calling update_gamepads and seems to be alternating wParam between DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE.
That's about as far as my knowledge goes, but it might just need something to detect and prevent starting the listener if the device is not a gamepad.