Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
What is "clamping" - this means that the key is pressed and not released for a certain time. This is what needs to be checked. When a press is detected, flag "key pressed" and remember the time. On subsequent checks of the keyboard status, do the following. If the key is released, then reset the flag. If the key is still pressed, then check if the specified time has passed. And either perform the action or wait further.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question