---
name: "SDL_HINT_ENABLE_SCREEN_KEYBOARD"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_ENABLE_SCREEN_KEYBOARD"
---

# SDL\_HINT\_ENABLE\_SCREEN\_KEYBOARD(3)

A variable that controls whether the on-screen keyboard should be shown when text input is active.

## NAME

SDL\_HINT\_ENABLE\_SCREEN\_KEYBOARD - A variable that controls whether the on-screen keyboard should be shown when text input is active.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_ENABLE\_SCREEN\_KEYBOARD** *SDL\_ENABLE\_SCREEN\_KEYBOARD"*

## DESCRIPTION

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.
