Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Joystick callbacks or make joystick input polling available to other threads #601
Hello. We have a problem with input polling where at low frame rates joystick polling is done at such a low frequency that button presses are missed. The documentation specifically disallows calling the polling methods from other threads, which would solve the problem as I could just poll joysticks at a much higher rate from another thread at even intervals independent of frame rate. Alternatively, joystick callbacks would work too.
If i may piggy back on this issue: on Windows, all gamepads are reported to have the same generic driver name. It would be awesome if the 3.2 rewrite would fix this, otherwise it's impossible to select mappings for say Xbox or PS3/4 controllers. I'm happy to send hardware if needed!