]> 4ch.mooo.com Git - 16.git/commitdiff
wwww inputest.exe wwww
authorsparky4 <sparky4@cock.li>
Sat, 2 Apr 2016 21:32:49 +0000 (16:32 -0500)
committersparky4 <sparky4@cock.li>
Sat, 2 Apr 2016 21:32:49 +0000 (16:32 -0500)
src/lib/16_in.c

index 89e7beda255b571d3393d9382b8a85205fa51ef2..1897b512f9d3c2605070a7b2524459c099bf6081 100755 (executable)
@@ -671,7 +671,8 @@ void
 IN_Default(boolean gotit,player_t *player,ControlType nt)\r
 {\r
        int i;\r
-       /*if\r
+       if(testctrltype==0)\r
+       if\r
        (\r
                (!gotit)\r
        ||      ((nt == ctrl_Joystick1) && !inpu.JoysPresent[0])\r
@@ -680,7 +681,7 @@ IN_Default(boolean gotit,player_t *player,ControlType nt)
 //     ||      ((nt == ctrl_Joypad1) && !inpu.JoyPadPresent[0])\r
 //     ||      ((nt == ctrl_Joypad2) && !inpu.JoyPadPresent[1])\r
        )\r
-               nt = ctrl_Keyboard1;*/\r
+               nt = ctrl_Keyboard1;\r
        inpu.KbdDefs[0].button0 = 0x1c;\r
        inpu.KbdDefs[0].button1 = 0x38;\r
        //in.KbdDefs[0].upleft = 0x47;\r