From c48f440b3648688641912202e54b149f27ff52cc Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sat, 2 Apr 2016 16:32:49 -0500 Subject: [PATCH] wwww inputest.exe wwww --- src/lib/16_in.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/16_in.c b/src/lib/16_in.c index 89e7beda..1897b512 100755 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -671,7 +671,8 @@ void IN_Default(boolean gotit,player_t *player,ControlType nt) { int i; - /*if + if(testctrltype==0) + if ( (!gotit) || ((nt == ctrl_Joystick1) && !inpu.JoysPresent[0]) @@ -680,7 +681,7 @@ IN_Default(boolean gotit,player_t *player,ControlType nt) // || ((nt == ctrl_Joypad1) && !inpu.JoyPadPresent[0]) // || ((nt == ctrl_Joypad2) && !inpu.JoyPadPresent[1]) ) - nt = ctrl_Keyboard1;*/ + nt = ctrl_Keyboard1; inpu.KbdDefs[0].button0 = 0x1c; inpu.KbdDefs[0].button1 = 0x38; //in.KbdDefs[0].upleft = 0x47; -- 2.39.5