Constant SDL_HINT_ENABLE_SCREEN_KEYBOARD

pub const SDL_HINT_ENABLE_SCREEN_KEYBOARD: *const i8 = _; // {alloc39399<imm>: *const i8}
Available on crate feature dep_sdl3 only.
Expand description

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, if available.

This hint must be set before [SDL_StartTextInput()] is called

§Availability

This hint is available since SDL 3.2.0.