X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Finputest.c;h=81f558767c97398a73f70266e3adff944594ef03;hb=bc10e84da5198561bb96cf8eb459f59b8b0739ec;hp=98815cc6ca5a42134a623a98ad3626b03a3ae920;hpb=00497e980f1e07052ae1b28f41c0d18c3ec097dc;p=16.git diff --git a/src/inputest.c b/src/inputest.c old mode 100644 new mode 100755 index 98815cc6..81f55876 --- a/src/inputest.c +++ b/src/inputest.c @@ -26,18 +26,21 @@ void main(int argc, char *argv[]) -{ - player_t player[MaxPlayers]; - - 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)); - } - IN_Shutdown(); + { + IN_ReadControl(0,&player); + //printf("%u\n", IN_KeyDown(sc_Escape)); + printf("%u\n", IN_qb(sc_9)); + } + IN_Shutdown(); //printf("%u\n", in.Keyboard[sc_Escape]); + printf("%u\n", testkeyin); }