Skip to content

Commit

Permalink
Update hid_ext.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP authored May 7, 2024
1 parent dc59e91 commit a436a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/hac/source/utilities/driver/hid_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void HID<Console::HAC>::_Poll()
this->SendGamepadPress(false, joystick->GetID(), input.button, input.buttonNumber);

/* handle trigger and stick inputs */
for (size_t index = 0; index < Joystick<>::GAMEPAD_AXIS_MAX_ENUM; index++)
for (size_t index = 1; index < Joystick<>::GAMEPAD_AXIS_MAX_ENUM; index++)
{
const auto axis = (Joystick<>::GamepadAxis)index;
const auto value = joystick->GetAxis(index);
Expand Down

0 comments on commit a436a11

Please sign in to comment.