]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.c
wwww
[16.git] / src / lib / 16_in.c
index 4b8d65f80254f32b5cd8cdf459e7cec00352d4a1..c8072f1e429f74907c4af1e51ec2bfdfb0a69f67 100755 (executable)
@@ -38,7 +38,7 @@
 \r
 #include "src/lib/16_in.h"\r
 \r
-static word testkeyin=1,testcontrolnoisy=0;\r
+word testkeyin=1,testcontrolnoisy=0;\r
 \r
 /*\r
 =============================================================================\r
@@ -237,7 +237,7 @@ static      boolean special;
        if (INL_KeyHook && !special)\r
                INL_KeyHook();\r
 //#ifdef TESTKEYIN\r
-       if(testkeyin > 0) printf("%c %x %u\n", c, k, inpu.Keyboard[k]);\r
+       if(testkeyin > 0) printf("%c [0x%x %u] %u\n", c, k, k, inpu.Keyboard[k]);\r
 //endif\r
        outp(0x20,0x20);\r
 }\r
@@ -1215,7 +1215,7 @@ void IN_ClearKey(byte code)
 boolean IN_qb(byte kee)\r
 {\r
 //#ifdef TESTKEYIN\r
-       if(testkeyin > 0) printf("%u\n", inpu.Keyboard[kee]);\r
+//     if(testkeyin > 0) printf("%u\n", inpu.Keyboard[kee]);\r
 //#endif\r
        if(inpu.Keyboard[kee]==true) return 1;\r
        else return 0;\r