X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Finputest.c;h=31c8d90734b61a2ad958d456ed6b558a21944987;hb=c7c2bbbf981e929e57c12fcef0dfe7ad7322c4e6;hp=55c8ab128b79970fb49632a5e1d5ef4f24f2e1cc;hpb=0f1f17dc05c1f9530651580fc5c23b121b8969ab;p=16.git diff --git a/src/inputest.c b/src/inputest.c index 55c8ab12..31c8d907 100755 --- a/src/inputest.c +++ b/src/inputest.c @@ -29,8 +29,8 @@ main(int argc, char *argv[]) { player_t player[MaxPlayers]; //extern struct inconfig inpu; - static boolean testkeyin=true; - static boolean testcontrolnoisy=true; + testkeyin=1; + testcontrolnoisy=0; IN_Startup(); IN_Default(0,&player,ctrl_Joystick); //while(!IN_KeyDown(sc_Escape)) @@ -38,7 +38,7 @@ main(int argc, char *argv[]) { IN_ReadControl(0,&player); //printf("%u\n", IN_KeyDown(sc_Escape)); - //printf("%u\n", IN_qb(sc_Escape)); + if(IN_qb(sc_9)>0) printf("%u\n", IN_qb(sc_9)); } IN_Shutdown(); //printf("%u\n", in.Keyboard[sc_Escape]);