X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_touch.pas;h=b9250acb63bd32958b50e96cb4617e1b0d6360f3;hb=a7b5840560ba63bca3b9fc7f7608fffa8c0b0e41;hp=faed65c36ab5fc6cb7c1d41d29496ef0bcb3c21e;hpb=5eaf38a53865288793931062dedeedc497075144;p=d2df-sdl.git 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