SDL Wiki Bot 1 год назад
Родитель
Сommit
7d0ea2a881
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      include/SDL_keyboard.h

+ 4 - 0
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