How do I tell whether the user is holding a key down, in the normal event handling loop?
I just use a switch/case statement and do an action based upon if the key is pressed. But I wanna repeatedly do that action as long as the key is being held down. Could someone provide an example?