Is it possible to change the function Key_State() to return Pressed only when key is Held for less than the given holdtime?
My problem is, i always get "pressed" as return value, even if i'm still holding the key and when exceeding the holdtime it returns "held" s it should. But i need to get rid of the pressed when i'm holding a key.
Is it possible to change the function Key_State() to return Pressed only when key is Held for less than the given holdtime?
My problem is, i always get "pressed" as return value, even if i'm still holding the key and when exceeding the holdtime it returns "held" s it should. But i need to get rid of the pressed when i'm holding a key.