summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-01-17 19:43:34 +0100
committerGitHub <noreply@github.com>2022-01-17 19:43:34 +0100
commit45ac3f414e342b59710ab2d649806712012c6892 (patch)
tree19b698fecaef23678d7865900dcce04bcc05dd74 /src/input_common
parentMerge pull request #7729 from v1993/patch-5 (diff)
parentinput_common: nitpick about SetHatButton usage (diff)
downloadyuzu-45ac3f414e342b59710ab2d649806712012c6892.tar
yuzu-45ac3f414e342b59710ab2d649806712012c6892.tar.gz
yuzu-45ac3f414e342b59710ab2d649806712012c6892.tar.bz2
yuzu-45ac3f414e342b59710ab2d649806712012c6892.tar.lz
yuzu-45ac3f414e342b59710ab2d649806712012c6892.tar.xz
yuzu-45ac3f414e342b59710ab2d649806712012c6892.tar.zst
yuzu-45ac3f414e342b59710ab2d649806712012c6892.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/input_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_engine.cpp b/src/input_common/input_engine.cpp
index b57330e51..0508b408d 100644
--- a/src/input_common/input_engine.cpp
+++ b/src/input_common/input_engine.cpp
@@ -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);
}
}
}