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=0;\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
+ 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