hedgewars/uKeys.pas
changeset 2586 204e6b2885bc
parent 2581 10f03732ea60
child 2590 e7e87e3c67db
--- a/hedgewars/uKeys.pas	Sun Oct 25 12:41:48 2009 +0000
+++ b/hedgewars/uKeys.pas	Sun Oct 25 15:55:49 2009 +0000
@@ -42,7 +42,7 @@
 var hideAmmoMenu: boolean;
 	wheelUp: boolean = false;
 	wheelDown: boolean = false;
-{$IFDEF IPHONEOS}
+{$IFDEF TOUCHINPUT}
         leftClick: boolean = false;
         middleClick: boolean = false;
         rightClick: boolean = false;
@@ -130,7 +130,7 @@
 tkbdn[5]:= ord(wheelUp);
 wheelUp:= false;
 wheelDown:= false;
-{$IFDEF IPHONEOS}
+{$IFDEF TOUCHINPUT}
 tkbdn[1]:= ord(leftClick);
 tkbdn[2]:= ord(middleClick);
 tkbdn[3]:= ord(rightClick);
@@ -344,7 +344,7 @@
 		end;
 	end;
 
-{$IFDEF IPHONEOS}
+{$IFDEF TOUCHINPUT}
 DefaultBinds[  1]:= '/put';
 DefaultBinds[  3]:= 'ammomenu';
 DefaultBinds[  8]:= 'hjump';