diff options
| author | Mai M <mathew1800@gmail.com> | 2022-01-17 13:43:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-17 13:43:34 -0500 |
| commit | d3066b30ead285d1b22e0b572f2811f373e670b2 (patch) | |
| tree | 19b698fecaef23678d7865900dcce04bcc05dd74 /src/input_common/input_engine.cpp | |
| parent | 624bb8bf260468a7b74adafee58b5f08854747a2 (diff) | |
| parent | ffc1f4df394a67eef5ddfae766a0bb66cf4ac1cf (diff) | |
Merge pull request #7730 from v1993/patch-6
input_common: nitpick about SetHatButton usage
Diffstat (limited to 'src/input_common/input_engine.cpp')
| -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 b57330e51d..0508b408d3 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); } } } |
