Exposed SDL_ResetKeyboard() as a public function

This will be used by Source 2 titles to reset keyboard state before showing assertion dialogs
This commit is contained in:
Sam Lantinga
2022-07-11 09:49:00 -07:00
parent 739155c44c
commit 2373da5d94
5 changed files with 15 additions and 3 deletions

View File

@@ -961,3 +961,4 @@ SDL_DYNAPI_PROC(int,SDL_GDKGetTaskQueue,(XTaskQueueHandle *a),(a),return)
SDL_DYNAPI_PROC(int,SDL_GDKRunApp,(SDL_main_func a, void *b),(a,b),return)
#endif
SDL_DYNAPI_PROC(void,SDL_GetOriginalMemoryFunctions,(SDL_malloc_func *a, SDL_calloc_func *b, SDL_realloc_func *c, SDL_free_func *d),(a,b,c,d),)
SDL_DYNAPI_PROC(void,SDL_ResetKeyboard,(void),(),)