From 418f345971a005135637e99618c9a5dcaf86fcd0 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sat, 14 Feb 2026 16:34:58 -0500 Subject: [PATCH] Lower maxdevices down to save some memory --- src/g_input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_input.h b/src/g_input.h index fd0a0839f..256f61574 100644 --- a/src/g_input.h +++ b/src/g_input.h @@ -106,7 +106,7 @@ extern consvar_t cv_controllerled[MAXSPLITSCREENPLAYERS]; // current state of the keys: JOYAXISRANGE or 0 when boolean. // Or anything inbetween for analog values -#define MAXDEVICES (MAXGAMEPADS + 10) // Gamepads + keyboard & mouse +#define MAXDEVICES (MAXGAMEPADS + 1) // Gamepads + keyboard & mouse // the above is horrid since device tracks the gamepad id for whatever godawful reason // the gamepad instance id may be alot larger than (MAXGAMEPADS + 1)/"9"