1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-28 15:06:31 -05:00

input_common: nitpick about SetHatButton usage

This commit is contained in:
Valeri
2022-01-17 12:04:38 +03:00
committed by GitHub
parent 480b03b645
commit 3431e0acf5

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);
}
}
}