diff options
author | Mai M <mathew1800@gmail.com> | 2022-01-17 19:43:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 19:43:34 +0100 |
commit | 45ac3f414e342b59710ab2d649806712012c6892 (patch) | |
tree | 19b698fecaef23678d7865900dcce04bcc05dd74 | |
parent | Merge pull request #7729 from v1993/patch-5 (diff) | |
parent | input_common: nitpick about SetHatButton usage (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/input_common/input_engine.cpp | 2 |
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); } } } |