From baa3e80537765bd16609cad44af7f79f6ff5e4a3 Mon Sep 17 00:00:00 2001 From: wookieejedi Date: Fri, 20 Dec 2024 08:57:55 -0500 Subject: [PATCH] Update JOY_NUM_BUTTONS to 128 Follow-up to #6371 (and replaces #5960 since the goal of that PR was already taken care of with #6371 adding the procedural translation). Overall tagging this as 25.0 since multiple folks have asking about bumping the limit --- code/io/joy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/io/joy.h b/code/io/joy.h index 7ee6e259f3b..ce4cd7cfca1 100644 --- a/code/io/joy.h +++ b/code/io/joy.h @@ -17,7 +17,7 @@ #include "SDL_joystick.h" // z64: Moved up here for compatibility. Bye bye, organization! -const int JOY_NUM_BUTTONS = 32; // Max number of buttons FSO can handle. OS max may differ. +const int JOY_NUM_BUTTONS = 128; // Max number of buttons FSO can handle. OS max may differ. const int JOY_NUM_HAT_POS = 4; const int JOY_TOTAL_BUTTONS = (JOY_NUM_BUTTONS + JOY_NUM_HAT_POS);