]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.c
wwwww
[16.git] / src / lib / 16_in.c
index 84804f6cb9e1cda1338dbc19b63daa3bb6a85a83..7519a6c2312ed20428f4c85a1e41a2cc87c6613d 100755 (executable)
@@ -38,6 +38,8 @@
 \r
 #include "src/lib/16_in.h"\r
 \r
+word testkeyin=1,testcontrolnoisy=0;\r
+\r
 /*\r
 =============================================================================\r
 \r
@@ -235,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
@@ -1213,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