Function sdl2_sys::SDL_ResetKeyboard
source ยท pub unsafe extern "C" fn SDL_ResetKeyboard()
Expand description
Clear the state of the keyboard
This function will generate key up events for all pressed keys.
\since This function is available since SDL 2.24.0.
\sa SDL_GetKeyboardState