]> 4ch.mooo.com Git - 16.git/blobdiff - src/inputest.c
wwww
[16.git] / src / inputest.c
index 1ecd09d6cb4a163add06e4ec862f4466f5db9201..3722c1754cbd8b170e6bd9bcbd778fe13b035230 100755 (executable)
@@ -30,11 +30,11 @@ main(int argc, char *argv[])
        global_game_variables_t gvar;\r
        player_t player[MaxPlayers];\r
        //extern struct inconfig inpu;\r
-       testkeyin=1;\r
-       testcontrolnoisy=0;\r
-       testctrltype=0;\r
+       testkeyin=0;\r
+       testcontrolnoisy=1;\r
        IN_Startup();\r
        IN_Default(0,&player,ctrl_Joystick1);\r
+       IN_SetControlType(0,&player,ctrl_Joystick1);\r
        //while(!IN_KeyDown(sc_Escape))\r
        player[0].q=1;\r
        player[0].d=2;\r
@@ -107,5 +107,4 @@ main(int argc, char *argv[])
        printf("version %s\n", VERSION);\r
        printf("testkeyin=%u\n", testkeyin);\r
        printf("testcontrolnoisy=%u\n", testcontrolnoisy);\r
-       printf("testctrltype=%u\n", testctrltype);\r
 }\r