mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-21 10:43:36 +00:00
Added SDL_HINT_ENABLE_STEAM_SCREEN_KEYBOARD
(cherry picked from commit c9b6581210)
This commit is contained in:
@@ -809,6 +809,23 @@ extern "C" {
|
||||
*/
|
||||
#define SDL_HINT_ENABLE_SCREEN_KEYBOARD "SDL_ENABLE_SCREEN_KEYBOARD"
|
||||
|
||||
/**
|
||||
* A variable that controls whether the Steam on-screen keyboard should be shown
|
||||
* when text input is active.
|
||||
*
|
||||
* Steam will set this hint via environment variable for games launched in Big Picture mode. To override this you should call SDL_SetHintWithPriority() with priority `SDL_HINT_OVERRIDE`.
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
*
|
||||
* - "0": Do not show the Steam on-screen keyboard.
|
||||
* - "1": Show the Steam on-screen keyboard.
|
||||
*
|
||||
* This hint should be set before SDL is initialized.
|
||||
*
|
||||
* \since This hint is available since SDL 3.4.12.
|
||||
*/
|
||||
#define SDL_HINT_ENABLE_STEAM_SCREEN_KEYBOARD "SDL_ENABLE_STEAM_SCREEN_KEYBOARD"
|
||||
|
||||
/**
|
||||
* A variable containing a list of evdev devices to use if udev is not
|
||||
* available.
|
||||
|
||||
Reference in New Issue
Block a user