From 7d0ea2a8815735f0d3d8989baf1f94017c113a18 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Thu, 9 May 2024 17:33:40 +0000 Subject: [PATCH] Sync SDL2 wiki -> header --- include/SDL_keyboard.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/SDL_keyboard.h b/include/SDL_keyboard.h index 0ac1a9398e..4fd76e243b 100644 --- a/include/SDL_keyboard.h +++ b/include/SDL_keyboard.h @@ -254,6 +254,10 @@ extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromName(const char *name); * * On some platforms using this function activates the screen keyboard. * + * On desktop platforms, SDL_StartTextInput() is implicitly called on SDL + * window creation which will cause events SDL_TextInputEvent and + * SDL_TextEditingEvent to begin emitting. + * * \since This function is available since SDL 2.0.0. * * \sa SDL_SetTextInputRect