mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 21:49:10 +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:
parent
6604d423fd
commit
72fc6f86e5
11 changed files with 41 additions and 62 deletions
include/SDL3
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue