# HG changeset patch
# User Xeli
# Date 1335562741 -7200
# Node ID 615cc50903c8a05ee52d3dc72bc18723a75497c7
# Parent  7271ce89950fb40b87d678314dfc008610c720af
remove last boolean keys references and using only ParseCommand in uTouch now

diff -r 7271ce89950f -r 615cc50903c8 hedgewars/uTouch.pas
--- a/hedgewars/uTouch.pas	Sat Apr 28 12:35:29 2012 +0200
+++ b/hedgewars/uTouch.pas	Fri Apr 27 23:39:01 2012 +0200
@@ -235,19 +235,19 @@
     dec(buttonsDown);
     
     if widget = @arrowLeft then
-        leftKey:= false;
+        ParseTeamCommand('-left');
     
     if widget = @arrowRight then
-        rightKey:= false;
+        ParseTeamCommand('-right');
 
     if widget = @arrowUp then
-        upKey:= false;
+        ParseTeamCommand('-up');
 
     if widget = @arrowDown then
-        downKey:= false;
+        ParseTeamCommand('-down');
 
     if widget = @fireButton then
-        spaceKey:= false;
+        ParseTeamCommand('-attack');
     end;
  
 deleteFinger(pointerId);