From: sparky4 Date: Mon, 29 Jun 2015 17:42:00 +0000 (-0500) Subject: good ^^ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=857b82aa09582d5c542e679ad0a32846bc27421d;p=16.git good ^^ modified: inputest.exe modified: src/lib/16_in.c --- diff --git a/inputest.exe b/inputest.exe index 30685259..5b6c428d 100644 Binary files a/inputest.exe and b/inputest.exe differ diff --git a/src/lib/16_in.c b/src/lib/16_in.c index 539c8c3c..ff9c576e 100644 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -849,18 +849,18 @@ register KeyboardDef *def; else if (Keyboard[def->downright]) mx = motion_Right,my = motion_Down;*/ - //if(!inpu.Keyboard[def->left] && !inpu.Keyboard[def->right]){ + if(!inpu.Keyboard[def->left] && !inpu.Keyboard[def->right]){ if (inpu.Keyboard[def->up]) my = motion_Up; else if (inpu.Keyboard[def->down]) my = motion_Down; - //}else if(!inpu.Keyboard[def->up] && !inpu.Keyboard[def->down]){ + }else if(!inpu.Keyboard[def->up] && !inpu.Keyboard[def->down]){ if (inpu.Keyboard[def->left]) mx = motion_Left; else if (inpu.Keyboard[def->right]) mx = motion_Right; - //} + } if (inpu.Keyboard[def->button0]) buttons += 1 << 0; if (inpu.Keyboard[def->button1])