]> 4ch.mooo.com Git - 16.git/blobdiff - src/inputest.c
wwww
[16.git] / src / inputest.c
old mode 100644 (file)
new mode 100755 (executable)
index 15a1b3a..81f5587
 void\r
 main(int argc, char *argv[])\r
 {\r
-       ControlInfo control;\r
+       player_t player[MaxPlayers];\r
+       //extern struct inconfig inpu;\r
+       testkeyin=1;\r
+       testcontrolnoisy=1;\r
        IN_Startup();\r
-       IN_Default(0,ctrl_Keyboard);\r
-       IN_ReadControl(0,&control);\r
+       IN_Default(0,&player,ctrl_Joystick);\r
+       //while(!IN_KeyDown(sc_Escape))\r
+       while(!IN_KeyDown(sc_Escape))\r
+       {\r
+               IN_ReadControl(0,&player);\r
+               //printf("%u\n", IN_KeyDown(sc_Escape));\r
+               printf("%u\n", IN_qb(sc_9));\r
+       }\r
        IN_Shutdown();\r
+       //printf("%u\n", in.Keyboard[sc_Escape]);\r
+       printf("%u\n", testkeyin);\r
 }\r