input_common: nitpick about SetHatButton usage

This commit is contained in:
Valeri authored and GitHub committed 2022-01-17 12:04:38 +03:00
1 parent 0e12a27299
commit ffc1f4df39
1 file changed
+1 -1
+1 -1
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);
}
}
}