From: DeaDDooMER Date: Thu, 5 Sep 2019 22:17:26 +0000 (+0300) Subject: allow to bind joystick button zero in menu X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=9bd1a9d2c5229e80d1ebf7d69a67f2642a50c78d;p=d2df-sdl.git allow to bind joystick button zero in menu --- diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index a97ddeb..6043a37 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -2483,7 +2483,7 @@ begin else if FIsQuery then begin case wParam of - IK_ENTER, IK_KPRETURN, VK_FIRSTKEY..VK_LASTKEY, JOY0_ATTACK, JOY1_ATTACK, JOY2_ATTACK, JOY3_ATTACK: // Not '' then FKey := wParam; @@ -2651,7 +2651,7 @@ begin else if FIsQuery then begin case wParam of - IK_ENTER, IK_KPRETURN, VK_FIRSTKEY..VK_LASTKEY, JOY0_ATTACK, JOY1_ATTACK, JOY2_ATTACK, JOY3_ATTACK: // Not '' then begin