Clear the state of the keyboard.
Defined in <SDL3/SDL_keyboard.h>
void SDL_ResetKeyboard(void);
This function will generate key up events for all pressed keys.
This function should only be called on the main thread.
This function is available since SDL 3.1.3.