Flushing keys in SDL

Started by
0 comments, last by RichardoX 17 years, 5 months ago
Exactly as the topic title says. Are there any commands like "SDL_KeyFlush" or something? I've looked at the SDL documentation, but I can't seem to find it. Thanks alot!
Hope I was helpful. And thank you if you were!
Advertisement
There's a function called SDL_PumpEvents, or similar. It's supposed to be used when you use SDL_GetMouseState and/or SDL_GetKeyState when not using SDL_PollEvent or SDL_WaitEvent.

Hope that's what you're looking for.

-Riku

This topic is closed to new replies.

Advertisement