Detecting extremely fast joystick button presses?
- by DBRalir
Is it usually possible for the player to press and release a button within a single frame, so that the game engine doesn't have time to detect it?
How do programmers usually handle this situation? Is it even necessary to handle it?
Specifically, I am asking about GLFW's joystick input capabilities.
I am currently using GLFW to make a game, and I've noticed that keyboard and mouse have callback functions, while joysticks do not. Also, it does not appear to be possible to enable "sticky keys" for a joystick. (I have only recently started using GLFW, so please correct me if I am wrong, as having either of those would solve the problem.)