void\r
main(int argc, char *argv[])\r
{\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();
+ player_t player[MaxPlayers];\r
+ //extern struct inconfig inpu;\r
+ testkeyin=1;\r
+ testcontrolnoisy=0;\r
+ IN_Startup();\r
IN_Default(0,&player,ctrl_Joystick);\r
-// IN_Default(0,ctrl_Joystick);\r
- while(!IN_qb(sc_Escape))\r
+ //while(!IN_KeyDown(sc_Escape))\r
+ while(!IN_KeyDown(sc_Escape))\r
{\r
- IN_ReadControl(0,&control);\r
-// printf("%u\n", Keyboard[sc_Escape]);\r
-\r
+ IN_ReadControl(0,&player);\r
+ //printf("%u\n", IN_KeyDown(sc_Escape));\r
+ if(IN_qb(sc_9)>0) 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