From 79dd471e1068eb7e1f89bf9bcad480072d67c7c1 Mon Sep 17 00:00:00 2001 From: Noel Berry Date: Thu, 27 Aug 2020 20:21:33 -0700 Subject: [PATCH] removed some old invalid comments --- public/blah/input/input.cpp | 2 +- public/blah/input/input.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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