X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Finputest.c;h=32947c5c7d74f987b4c43cd551049cbb08eec17c;hb=1043c48ac5b1109e1614ad43c9d2ccadd5950a64;hp=7818a8a38fa6cbedf575ce9d227aab39d8cdb1b2;hpb=f1605e99959acfb32b36ae875601fc14dd670742;p=16.git diff --git a/src/inputest.c b/src/inputest.c index 7818a8a3..32947c5c 100755 --- a/src/inputest.c +++ b/src/inputest.c @@ -23,23 +23,27 @@ 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=0; + 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)); + //if( + IN_qb(sc_9);//>0) printf("IN_qb(sc_9)=%u\n", IN_qb(sc_9)); + } + IN_Shutdown(); //printf("%u\n", in.Keyboard[sc_Escape]); + printf("inputest.exe "); + printf("version %s\n", VERSION); + printf("testkeyin=%u\n", testkeyin); }