X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Finputest.c;h=e9ef73d8571fe1aa383a948197eee03f5e3815f3;hb=1f0c7fdf6d8cc3b6c9c86983c0336e9cb7ae5635;hp=6fdf5567f927dee9fede288c123565d34385dff9;hpb=634cab2f93fbfecbfd035e1aadd6b396c5ad73a6;p=16.git diff --git a/src/inputest.c b/src/inputest.c old mode 100644 new mode 100755 index 6fdf5567..e9ef73d8 --- a/src/inputest.c +++ b/src/inputest.c @@ -23,23 +23,24 @@ input test */ #include "src/lib/16_in.h" - + void main(int argc, char *argv[]) -{ - player_t player[MaxPlayers]; - //extern struct inconfig inpu; - - IN_Startup(); +{ + player_t player[MaxPlayers]; + //extern struct inconfig inpu; + testkeyin=1; + testcontrolnoisy=1; + IN_Startup(); IN_Default(0,&player,ctrl_Joystick); - //while(!IN_KeyDown(sc_Escape)) + //while(!IN_KeyDown(sc_Escape)) while(!IN_KeyDown(sc_Escape)) - { - IN_ReadControl(0,&player); - //printf("%u\n", IN_KeyDown(sc_Escape)); - //printf("%u\n", IN_qb(sc_Escape)); - clockdw++; - } - IN_Shutdown(); + { + IN_ReadControl(0,&player); + //printf("%u\n", IN_KeyDown(sc_Escape)); + //printf("%u\n", IN_qb(sc_Escape)); + } + IN_Shutdown(); //printf("%u\n", in.Keyboard[sc_Escape]); + printf("%u\n", testkeyin); }