Skip to content

Commit

Permalink
Update JOY_NUM_BUTTONS to 128 (#6479)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wookieejedi authored Dec 28, 2024
1 parent 0832667 commit 7931a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/io/joy.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7931a55

Please sign in to comment.