Detecting extremely fast joystick button presses?

Posted by DBRalir on Game Development See other posts from Game Development or by DBRalir
Published on 2012-06-08T03:29:47Z Indexed on 2012/06/08 4:47 UTC
Read the original article Hit count: 288

Filed under:
|

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.)

© Game Development or respective owner

Related posts about input

Related posts about joystick