瀏覽代碼

Sync SDL2 wiki -> header

SDL Wiki Bot 1 年之前
父節點
當前提交
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