sdlResetKeyboard function

void sdlResetKeyboard()

Clear the state of the keyboard.

This function will generate key up events for all pressed keys.

\threadsafety This function should only be called on the main thread.

\since This function is available since SDL 3.1.3.

\sa SDL_GetKeyboardState

extern SDL_DECLSPEC void SDLCALL SDL_ResetKeyboard(void)

Implementation

void sdlResetKeyboard() {
  final sdlResetKeyboardLookupFunction = libSdl3
      .lookupFunction<Void Function(), void Function()>('SDL_ResetKeyboard');
  return sdlResetKeyboardLookupFunction();
}