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 a436a11 commit b4807bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/cafe/source/utilities/driver/hid_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void HID<Console::CAFE>::_Poll()
if (joystick->IsUp(input))
this->SendGamepadPress(false, joystick->GetID(), input.button, input.buttonNumber);

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(axis);
Expand Down

0 comments on commit b4807bc

Please sign in to comment.