Posted 29 January 2000 - 07:51 PM
I am guessing that you are checking the state each frame? If you are, then that is why it is showing so many of them. It checks so fast, that the key is still down before it hits the next frame. The only thing off the top of my head would to somehow only check once ever few frames, or a timer to see how long the key has been pressed. What I mean is...think in windows. If you hold a key down, it displays the key, waits, and then begins repeating. You would need to implement that waiting period to see if the user really means to hold down the key. Hope this helps.