(This is the legacy documentation for SDL2, the previous stable version; SDL3 is the current stable version.)
SDL_HINT_RETURN_KEY_HIDES_IME
A variable to control whether the return key on the soft keyboard should hide the soft keyboard on Android and iOS.
Defined in SDL_hints.h
Syntax
#define SDL_HINT_RETURN_KEY_HIDES_IME "SDL_RETURN_KEY_HIDES_IME"
The variable can be set to the following values:
- "0": The return key will be handled as a key event. This is the behaviour of SDL <= 2.0.3. (default)
- "1": The return key will hide the keyboard.
The value of this hint is used at runtime, so it can be changed at any time.
CategoryAPI, CategoryAPIMacro, CategoryHints