diff --git a/public/blah/input/input.cpp b/public/blah/input/input.cpp index d7e3b1e..5def06f 100644 --- a/public/blah/input/input.cpp +++ b/public/blah/input/input.cpp @@ -286,7 +286,7 @@ const ControllerState* Input::controller(int controllerIndex) { if (controllerIndex >= Blah::Input::max_controllers) { - Log::warn("Trying to access a controller at %i, outside of EX_MAX_CONTROLLERS", controllerIndex); + Log::warn("Trying to access a out-of-range controller at %i", controllerIndex); return &g_empty_controller; } else if (!g_curr_state.controllers[controllerIndex].is_connected) diff --git a/public/blah/input/input.h b/public/blah/input/input.h index 43926f7..6ddd1fa 100644 --- a/public/blah/input/input.h +++ b/public/blah/input/input.h @@ -274,10 +274,10 @@ namespace Blah // Whether this gamepad is a standard Game Controller bool is_gamepad; - // The total button count for this controller, with a maximum of EX_MAX_CONTROLLER_BUTTONS + // The total button count for this controller int button_count; - // The total axis count for this controller, with a maximum of EX_MAX_CONTROLLER_AXIS + // The total axis count for this controller int axis_count; // An array holding the pressed state of each button