index 08cb80e48bbeef63a21439d8bb17c1337f81c6c0..daec5d954e8ecc1885f9e8f5d5b2360ccfb83bc7 100644 (file)
procedure sys_ShowKeyboard (yes: Boolean);
begin
procedure sys_ShowKeyboard (yes: Boolean);
begin
- {$IFNDEF HEADLESS}
- if g_dbg_input then
- e_LogWritefln('g_Touch_ShowKeyboard(%s)', [yes]);
- (* on desktop we always receive text (needed for cheats) *)
- if yes or (SDL_HasScreenKeyboardSupport() = SDL_FALSE) then
- SDL_StartTextInput
- else
- SDL_StopTextInput
- {$ENDIF}
+ if g_dbg_input then
+ e_LogWritefln('g_Touch_ShowKeyboard(%s)', [yes]);
+ (* on desktop we always receive text (needed for cheats) *)
+ if yes or (SDL_HasScreenKeyboardSupport() = SDL_FALSE) then
+ SDL_StartTextInput
+ else
+ SDL_StopTextInput
end;
procedure HandleTouch (const ev: TSDL_TouchFingerEvent);
end;
procedure HandleTouch (const ev: TSDL_TouchFingerEvent);