[hal] Fix joystick buttons not working on SC (#7980)

This commit is contained in:
Thad House
2025-05-18 07:03:52 -07:00
committed by GitHub
parent 231ec348fe
commit 0cb4df7e05
6 changed files with 13 additions and 13 deletions

View File

@@ -256,8 +256,8 @@ void JoystickDataCache::Update(const mrc::ControlData& data) {
povs[count].povs[i] = newPovs[i];
}
buttons->count = newStick.Buttons.GetCount();
buttons->buttons = newStick.Buttons.Buttons;
buttons[count].count = newStick.Buttons.GetCount();
buttons[count].buttons = newStick.Buttons.Buttons;
}
}