Clear the state of the keyboard
Defined in SDL_keyboard.h, but apps should only #include "SDL.h"
!
void SDL_ResetKeyboard(void);
This function will generate key up events for all pressed keys.
This function is available since SDL 2.24.0.
CategoryAPI, CategoryAPIFunction