hedgewars/hwengine.pas
changeset 8835 01bcf9ea68c1
parent 8742 b7b8bd398c1b
child 8838 aa2ffd427f6a
equal deleted inserted replaced
8832:4e9728dcebeb 8835:01bcf9ea68c1
   167 {$IFDEF SDL13}
   167 {$IFDEF SDL13}
   168                 SDL_KEYDOWN:
   168                 SDL_KEYDOWN:
   169                     if GameState = gsChat then
   169                     if GameState = gsChat then
   170                         begin
   170                         begin
   171                     // sdl on iphone supports only ashii keyboards and the unicode field is deprecated in sdl 1.3
   171                     // sdl on iphone supports only ashii keyboards and the unicode field is deprecated in sdl 1.3
   172                         KeyPressChat(SDL_GetKeyFromScancode(event.key.keysym.sym, event.key.keysym.sym)//TODO correct for keymodifiers
   172                         KeyPressChat(SDL_GetKeyFromScancode(event.key.keysym.sym), event.key.keysym.sym); //TODO correct for keymodifiers
   173                         end
   173                         end
   174                     else
   174                     else
   175                         ProcessKey(event.key);
   175                         ProcessKey(event.key);
   176                 SDL_KEYUP:
   176                 SDL_KEYUP:
   177                     if GameState <> gsChat then
   177                     if GameState <> gsChat then