mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-21 06:45:44 +00:00
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:
@@ -439,10 +439,11 @@ extern "C" {
|
||||
* A variable that controls whether the on-screen keyboard should be shown when text input is active
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
* "auto" - The on-screen keyboard will be shown if there is no physical keyboard attached. (default)
|
||||
* "0" - Do not show the on-screen keyboard.
|
||||
* "1" - Show the on-screen keyboard. (default)
|
||||
* "1" - Show the on-screen keyboard, if available.
|
||||
*
|
||||
* This hint must be set before text input is activated.
|
||||
* This hint must be set before SDL_StartTextInput() is called
|
||||
*/
|
||||
#define SDL_HINT_ENABLE_SCREEN_KEYBOARD "SDL_ENABLE_SCREEN_KEYBOARD"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user