]> 4ch.mooo.com Git - 16.git/blobdiff - src/inputest.c
converting
[16.git] / src / inputest.c
index 15a405f5065ac61feb1864e3cb5897b89e1fe394..9693104657c8cae19a318d09d173bf53caf6db17 100644 (file)
 void\r
 main(int argc, char *argv[])\r
 {\r
-       CursorInfo control;\r
+//     CursorInfo control;
+       player_t player[MaxPlayers];
+       hwconfig hw;
+       player.KbdDefs = {0x1d,0x38,0x47,0x48,0x49,0x4b,0x4d,0x4f,0x50,0x51};
+\r
        extern boolean Keyboard[NumCodes];\r
-       IN_Startup();\r
-       IN_Default(0,ctrl_Joystick);\r
+       IN_Startup();
+       IN_Default(0,&player,ctrl_Joystick);\r
+//     IN_Default(0,ctrl_Joystick);\r
        while(!IN_qb(sc_Escape))\r
        {\r
                IN_ReadControl(0,&control);\r