Flushing keys in SDL
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!
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
Hope that's what you're looking for.
-Riku
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement