X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_touch.pas;h=b9250acb63bd32958b50e96cb4617e1b0d6360f3;hp=faed65c36ab5fc6cb7c1d41d29496ef0bcb3c21e;hb=a7b5840560ba63bca3b9fc7f7608fffa8c0b0e41;hpb=bff90d671581e556daa820b41bf9c9c2c36f9ca0 diff --git a/src/game/g_touch.pas b/src/game/g_touch.pas index faed65c..b9250ac 100644 --- a/src/game/g_touch.pas +++ b/src/game/g_touch.pas @@ -194,7 +194,8 @@ implementation {$IFNDEF HEADLESS} if g_dbg_input then e_LogWritefln('g_Touch_ShowKeyboard(%s)', [yes]); - if yes then + (* on desktop we always receive text (needed for cheats) *) + if yes or (SDL_HasScreenKeyboardSupport() = SDL_FALSE) then SDL_StartTextInput else SDL_StopTextInput