From c9a6f9f9a30917454d6d9d9e1518619f23716b32 Mon Sep 17 00:00:00 2001 From: Lonsfor <827632-Lonsfor@users.noreply.gitlab.com> Date: Fri, 3 Sep 2021 23:32:36 +0000 Subject: [PATCH] Change minimum deadzone for menus from 3/4 to 1/2 --- src/m_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 6205c6ea..10505980 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -2571,7 +2571,7 @@ boolean M_Responder(event_t *ev) { if (ev->type == ev_joystick && ev->data1 == 0 && joywait < I_GetTime()) { - const INT32 jdeadzone = ((JOYAXISRANGE-1) * max(cv_ydeadzone.value, 3*FRACUNIT/4)) >> FRACBITS; + const INT32 jdeadzone = ((JOYAXISRANGE-1) * max(cv_ydeadzone.value, FRACUNIT/2)) >> FRACBITS; if (ev->data3 != INT32_MAX) { if (Joystick.bGamepadStyle || abs(ev->data3) > jdeadzone)