X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Finputest.c;h=81f558767c97398a73f70266e3adff944594ef03;hb=544ccf6efbf54ec3bf18c0dc1a71a9943f493905;hp=7818a8a38fa6cbedf575ce9d227aab39d8cdb1b2;hpb=b653a5ce33432229e31e2e661a2283d7f277676c;p=16.git diff --git a/src/inputest.c b/src/inputest.c old mode 100644 new mode 100755 index 7818a8a3..81f55876 --- 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_9)); + } + IN_Shutdown(); //printf("%u\n", in.Keyboard[sc_Escape]); + printf("%u\n", testkeyin); }