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