Explorar el Código

Sync SDL2 wiki -> header

SDL Wiki Bot hace 1 año
padre
commit
7d0ea2a881
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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