hedgewars/hwengine.pas
branchwebgl
changeset 8847 ff7fbab7cd56
parent 8833 c13ebed437cb
parent 8838 aa2ffd427f6a
child 9127 e350500c4edb
equal deleted inserted replaced
8844:b216eccfb77a 8847:ff7fbab7cd56
   196 {$IFDEF SDL13}
   196 {$IFDEF SDL13}
   197                 SDL_KEYDOWN:
   197                 SDL_KEYDOWN:
   198                     if GameState = gsChat then
   198                     if GameState = gsChat then
   199                         begin
   199                         begin
   200                     // sdl on iphone supports only ashii keyboards and the unicode field is deprecated in sdl 1.3
   200                     // sdl on iphone supports only ashii keyboards and the unicode field is deprecated in sdl 1.3
   201                         KeyPressChat(SDL_GetKeyFromScancode(event.key.keysym.sym, event.key.keysym.sym)//TODO correct for keymodifiers
   201                         KeyPressChat(SDL_GetKeyFromScancode(event.key.keysym.sym), event.key.keysym.sym); //TODO correct for keymodifiers
   202                         end
   202                         end
   203                     else
   203                     else
   204                         ProcessKey(event.key);
   204                         ProcessKey(event.key);
   205                 SDL_KEYUP:
   205                 SDL_KEYUP:
   206                     if GameState <> gsChat then
   206                     if GameState <> gsChat then