Single Keypress
Single Keypress
Is there a simple way to accept only one keypress at a time? So that the user would have to release a key and then press it again for it to register.
Re: Single Keypress
Maybe you can do something with IsKeyDown()?
Or if you use OnKeyDown and OnKeyUp events then this may help.
Or if you use OnKeyDown and OnKeyUp events then this may help.
Re: Single Keypress
I would use the OnKeyUp event. Then you only get notifications when user releases the key and you can avoid the repeating key issue.