]> 4ch.mooo.com Git - 16.git/commitdiff
good ^^
authorsparky4 <sparky4@cock.li>
Mon, 29 Jun 2015 17:42:00 +0000 (12:42 -0500)
committersparky4 <sparky4@cock.li>
Mon, 29 Jun 2015 17:42:00 +0000 (12:42 -0500)
modified:   inputest.exe
modified:   src/lib/16_in.c

inputest.exe
src/lib/16_in.c

index 30685259bcd88c21dd3dad524d8e88060bc3647c..5b6c428d0d1fb400a0b5a8346a724376ae0a65ea 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index 539c8c3c426bcf446004e526a793523c428656e9..ff9c576e8925d9106255c3f6d9975883a21657a1 100644 (file)
@@ -849,18 +849,18 @@ register  KeyboardDef     *def;
                        else if (Keyboard[def->downright])\r
                                mx = motion_Right,my = motion_Down;*/\r
 \r
                        else if (Keyboard[def->downright])\r
                                mx = motion_Right,my = motion_Down;*/\r
 \r
-                       //if(!inpu.Keyboard[def->left] && !inpu.Keyboard[def->right]){\r
+                       if(!inpu.Keyboard[def->left] && !inpu.Keyboard[def->right]){\r
                        if (inpu.Keyboard[def->up])\r
                                my = motion_Up;\r
                        else if (inpu.Keyboard[def->down])\r
                                my = motion_Down;\r
 \r
                        if (inpu.Keyboard[def->up])\r
                                my = motion_Up;\r
                        else if (inpu.Keyboard[def->down])\r
                                my = motion_Down;\r
 \r
-                       //}else if(!inpu.Keyboard[def->up] && !inpu.Keyboard[def->down]){\r
+                       }else if(!inpu.Keyboard[def->up] && !inpu.Keyboard[def->down]){\r
                        if (inpu.Keyboard[def->left])\r
                                mx = motion_Left;\r
                        else if (inpu.Keyboard[def->right])\r
                                mx = motion_Right;\r
                        if (inpu.Keyboard[def->left])\r
                                mx = motion_Left;\r
                        else if (inpu.Keyboard[def->right])\r
                                mx = motion_Right;\r
-                       //}\r
+                       }\r
                        if (inpu.Keyboard[def->button0])\r
                                buttons += 1 << 0;\r
                        if (inpu.Keyboard[def->button1])\r
                        if (inpu.Keyboard[def->button0])\r
                                buttons += 1 << 0;\r
                        if (inpu.Keyboard[def->button1])\r