sdlResetKeyboard function

void sdlResetKeyboard()

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

extern DECLSPEC void SDLCALL SDL_ResetKeyboard(void)

Implementation

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