Text input is no longer automatically enabled when initializing video.

Fixes https://github.com/libsdl-org/SDL/issues/9309
Fixes https://github.com/libsdl-org/SDL/issues/9268
This commit is contained in:
Sam Lantinga
2024-03-23 09:21:28 -07:00
parent 6604d423fd
commit 72fc6f86e5
11 changed files with 41 additions and 62 deletions

View File

@@ -855,6 +855,8 @@ The following symbols have been removed:
## SDL_keyboard.h
Text input is no longer automatically enabled when initializing video, you should call SDL_StartTextInput() when you want to receive text input and call SDL_StopTextInput() when you are done. Starting text input may shown an input method editor (IME) and cause key up/down events to be skipped, so should only be enabled when the application wants text input.
The following functions have been renamed:
* SDL_IsScreenKeyboardShown() => SDL_ScreenKeyboardShown()
* SDL_IsTextInputActive() => SDL_TextInputActive()