From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001 From: Edward Rudd <urkle@outoforder.cc> Date: Tue, 15 Jun 2021 01:40:19 +0000 Subject: [PATCH] update SDL soruce to 2.0.14 --- source/src/events/SDL_keyboard_c.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/source/src/events/SDL_keyboard_c.h b/source/src/events/SDL_keyboard_c.h index 1faf3e2..22bc48f 100644 --- a/source/src/events/SDL_keyboard_c.h +++ b/source/src/events/SDL_keyboard_c.h @@ -49,6 +49,13 @@ /* Send a keyboard key event */ extern int SDL_SendKeyboardKey(Uint8 state, SDL_Scancode scancode); +extern int SDL_SendKeyboardKeyAutoRelease(SDL_Scancode scancode); + +/* Release all the autorelease keys */ +extern void SDL_ReleaseAutoReleaseKeys(void); + +/* Return true if any hardware key is pressed */ +extern SDL_bool SDL_HardwareKeyboardKeyPressed(void); /* Send keyboard text input */ extern int SDL_SendKeyboardText(const char *text); -- Gitblit v1.9.3