mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-25 16:18:57 +08:00
removed some old invalid comments
This commit is contained in:
parent
53c65f0ba3
commit
79dd471e10
|
@ -286,7 +286,7 @@ const ControllerState* Input::controller(int controllerIndex)
|
||||||
{
|
{
|
||||||
if (controllerIndex >= Blah::Input::max_controllers)
|
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;
|
return &g_empty_controller;
|
||||||
}
|
}
|
||||||
else if (!g_curr_state.controllers[controllerIndex].is_connected)
|
else if (!g_curr_state.controllers[controllerIndex].is_connected)
|
||||||
|
|
|
@ -274,10 +274,10 @@ namespace Blah
|
||||||
// Whether this gamepad is a standard Game Controller
|
// Whether this gamepad is a standard Game Controller
|
||||||
bool is_gamepad;
|
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;
|
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;
|
int axis_count;
|
||||||
|
|
||||||
// An array holding the pressed state of each button
|
// An array holding the pressed state of each button
|
||||||
|
|
Loading…
Reference in New Issue
Block a user