From b4807bc1dace72707e5a49b46702785569087036 Mon Sep 17 00:00:00 2001 From: Serena Postelnek Date: Tue, 7 May 2024 15:16:46 -0400 Subject: [PATCH] Update hid_ext.cpp --- platform/cafe/source/utilities/driver/hid_ext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/cafe/source/utilities/driver/hid_ext.cpp b/platform/cafe/source/utilities/driver/hid_ext.cpp index 474cc0c0..4169186f 100644 --- a/platform/cafe/source/utilities/driver/hid_ext.cpp +++ b/platform/cafe/source/utilities/driver/hid_ext.cpp @@ -120,7 +120,7 @@ void HID::_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);