Man page - sdl_resetkeyboard(3)

Packages contas this manual

Manual

SDL_ResetKeyboard(3) SDL3 FUNCTIONS SDL_ResetKeyboard(3)

SDL_ResetKeyboard - Clear the state of the keyboard.

Defined in SDL3/SDL_keyboard.h

#include "SDL3/SDL.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.2.0.

(3), SDL_GetKeyboardState(3)

SDL 3.2.10 Simple Directmedia Layer