mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-19 22:10:52 +00:00
document that text input is on by default
See: https://discourse.libsdl.org/t/text-input-is-active-by-default-hampering-frame-rate/24396 https://discourse.libsdl.org/t/restoring-text-input-to-the-default-state/42690
This commit is contained in:
committed by
Sam Lantinga
parent
5e96e410d6
commit
5ae2ffc127
@@ -251,6 +251,8 @@ extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromName(const char *name);
|
||||
* and SDL_TextEditingEvent (SDL_EVENT_TEXT_EDITING) events. Please use this
|
||||
* function in pair with SDL_StopTextInput().
|
||||
*
|
||||
* Text input events are received by default.
|
||||
*
|
||||
* On some platforms using this function activates the screen keyboard.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
@@ -274,6 +276,8 @@ extern DECLSPEC SDL_bool SDLCALL SDL_TextInputActive(void);
|
||||
/**
|
||||
* Stop receiving any text input events.
|
||||
*
|
||||
* Text input events are received by default.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_StartTextInput
|
||||
|
||||
Reference in New Issue
Block a user