void StartTextInput(int x, int y, int width, int height)
{
#if defined(TARGET_SDL2)
+#if defined(HAS_SCREEN_KEYBOARD)
SDL_StartTextInput();
-#if defined(HAS_SCREEN_KEYBOARD)
if (y + height > SCREEN_KEYBOARD_POS(video.height))
{
video.shifted_up_pos = y + height - SCREEN_KEYBOARD_POS(video.height);
void StopTextInput()
{
#if defined(TARGET_SDL2)
+#if defined(HAS_SCREEN_KEYBOARD)
SDL_StopTextInput();
-#if defined(HAS_SCREEN_KEYBOARD)
if (video.shifted_up)
{
video.shifted_up_pos = 0;