1
0
Fork 0
forked from suyu/suyu

Merge pull request #7730 from v1993/patch-6

input_common: nitpick about SetHatButton usage
This commit is contained in:
Mai M 2022-01-17 13:43:34 -05:00 committed by GitHub
commit 45ac3f414e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ void InputEngine::ResetButtonState() {
SetButton(controller.first, button.first, false);
}
for (const auto& button : controller.second.hat_buttons) {
SetHatButton(controller.first, button.first, false);
SetHatButton(controller.first, button.first, 0);
}
}
}