changeset 2191 | 20c62f787a4d |
parent 2171 | 8208946331ba |
child 2243 | b4764993f833 |
--- a/hedgewars/hwengine.dpr Mon Jun 22 13:49:16 2009 +0000 +++ b/hedgewars/hwengine.dpr Wed Jun 24 15:59:32 2009 +0000 @@ -169,6 +169,7 @@ repeat while SDL_PollEvent(@event) <> 0 do case event.type_ of + {thinker here for adding touch events} SDL_KEYDOWN: if GameState = gsChat then KeyPressChat(event.key.keysym.unicode); SDL_ACTIVEEVENT: if (event.active.state and SDL_APPINPUTFOCUS) <> 0 then cHasFocus:= event.active.gain = 1;