]> 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 6fdf556..81f5587
        input test\r
 */\r
 #include "src/lib/16_in.h"\r
-
+\r
 void\r
 main(int argc, char *argv[])\r
-{
-       player_t player[MaxPlayers];
-       //extern struct inconfig inpu;
-\r
-       IN_Startup();
+{\r
+       player_t player[MaxPlayers];\r
+       //extern struct inconfig inpu;\r
+       testkeyin=1;\r
+       testcontrolnoisy=1;\r
+       IN_Startup();\r
        IN_Default(0,&player,ctrl_Joystick);\r
-       //while(!IN_KeyDown(sc_Escape))
+       //while(!IN_KeyDown(sc_Escape))\r
        while(!IN_KeyDown(sc_Escape))\r
-       {
-               IN_ReadControl(0,&player);
-               //printf("%u\n", IN_KeyDown(sc_Escape));
-               //printf("%u\n", IN_qb(sc_Escape));
-               clockdw++;
-       }
-       IN_Shutdown();
+       {\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