From what I can gather, LWJGL3 (GLFW) only offers polling when checking up on Joystick/Gamepad input, no callbacks.
If I’m not mistaken, this means I need to poll the input data on each frame (update), which means that the precision of button presses will be dependent on how often the polling is made.
I find this is a problem when requiring precise timing of inputs, for, say, a game requiring key combos, like a fighting game or the like.
So far, the best solution I can come up with is to run the gamepad polling in an independent thread so as to try and make it as fast and stable as possible, and then check the input data from the main game thread when processing the game logic.
Is this approach sound? Am I missing something? Should I throw myself out of a window?
:clue: