hedgewars/uInputHandler.pas
changeset 8145 6408c0ba4ba1
parent 7974 7ac6699b6228
child 8330 aaefa587e277
child 8346 3443e0de2c9d
--- a/hedgewars/uInputHandler.pas	Thu Nov 29 23:13:06 2012 -0500
+++ b/hedgewars/uInputHandler.pas	Thu Nov 29 23:23:19 2012 -0500
@@ -60,6 +60,16 @@
     quitKeyCode, closeKeyCode: Byte;
     KeyNames: array [0..cKeyMaxIndex] of string[15];
     CurrentBinds: TBinds;
+    ControllerNumControllers: Integer;
+    ControllerEnabled: Integer;
+    ControllerNumAxes: array[0..5] of Integer;
+    //ControllerNumBalls: array[0..5] of Integer;
+    ControllerNumHats: array[0..5] of Integer;
+    ControllerNumButtons: array[0..5] of Integer;
+    ControllerAxes: array[0..5] of array[0..19] of Integer;
+    //ControllerBalls: array[0..5] of array[0..19] of array[0..1] of Integer;
+    ControllerHats: array[0..5] of array[0..19] of Byte;
+    ControllerButtons: array[0..5] of array[0..19] of Byte;
 
 function  KeyNameToCode(name: shortstring): LongInt; inline;
 begin