]> 4ch.mooo.com Git - 16.git/commitdiff
testing input
authorsparky4 <sparky4@cock.li>
Wed, 10 Aug 2016 15:12:20 +0000 (10:12 -0500)
committersparky4 <sparky4@cock.li>
Wed, 10 Aug 2016 15:12:20 +0000 (10:12 -0500)
src/lib/16_in.c

index f019646427b1d58a2eb0c9c3a9a8ad77bfaf4e11..251109926dd7943907d59588c7de3adabd4e97f9 100755 (executable)
@@ -680,7 +680,7 @@ IN_Default(boolean gotit,player_t *player,ControlType nt)
        ||      ((nt == ctrl_Joystick2) && !inpu.JoysPresent[1])\r
        ||      ((nt == ctrl_Mouse) && !inpu.MousePresent)\r
        )\r
-               nt = ctrl_Keyboard1; nt = ctrl_Joystick1;//temp\r
+               nt = ctrl_Keyboard1;// nt = ctrl_Joystick1;//temp\r
        inpu.KbdDefs[0].button0 = 0x1c;\r
        inpu.KbdDefs[0].button1 = 0x38;\r
        //in.KbdDefs[0].upleft = 0x47;\r
@@ -973,8 +973,8 @@ if(player[pn].d /*(inpu.Keyboard[def->up] || inpu.Keyboard[def->down] || inpu.Ke
        printf("q=%d ", player[pn].q);\r
        printf("cpee=%c ", dirchar(conpee));\r
        printf("pdir=%c d=%c dir=%c ", dirchar(player[pn].pdir), dirchar(player[pn].d), dirchar(player[pn].info.dir));\r
-       if(realdelta) printf("dx=%d     dy=%d           mx=%d my=%d", player[pn].info.x, player[pn].info.y, player[pn].info.xaxis, player[pn].info.yaxis);\r
-       else if(!realdelta) printf("%c%d %c%d %c%d %c%d", dirchar(0), inpu.Keyboard[def->up], dirchar(4), inpu.Keyboard[def->down], dirchar(1), inpu.Keyboard[def->left], dirchar(3), inpu.Keyboard[def->right]);\r
+       /*if(realdelta) *///printf("dx=%d       dy=%d           mx=%d my=%d", player[pn].info.x, player[pn].info.y, player[pn].info.xaxis, player[pn].info.yaxis);\r
+       /*else if(!realdelta) */printf("%c%d %c%d %c%d %c%d", dirchar(0), inpu.Keyboard[def->up], dirchar(4), inpu.Keyboard[def->down], dirchar(1), inpu.Keyboard[def->left], dirchar(3), inpu.Keyboard[def->right]);\r
        printf("\n");\r
 }\r
 }\r