diff options
| author | 2022-01-17 12:04:38 +0300 | |
|---|---|---|
| committer | 2022-01-17 12:04:38 +0300 | |
| commit | 3431e0acf5ae2e165ba17e3446b0046b8a285a08 (patch) | |
| tree | a23ae187f7be606239c3adc8b2590ba7f212154b /src/input_common/input_engine.cpp | |
| parent | Merge pull request #7713 from gidoly/patch-3 (diff) | |
| download | yuzu-3431e0acf5ae2e165ba17e3446b0046b8a285a08.tar.gz yuzu-3431e0acf5ae2e165ba17e3446b0046b8a285a08.tar.xz yuzu-3431e0acf5ae2e165ba17e3446b0046b8a285a08.zip | |
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 b57330e51..0508b408d 100644 --- a/src/input_common/input_engine.cpp +++ b/src/input_common/input_engine.cpp | |||
| @@ -173,7 +173,7 @@ void InputEngine::ResetButtonState() { | |||
| 173 | SetButton(controller.first, button.first, false); | 173 | SetButton(controller.first, button.first, false); |
| 174 | } | 174 | } |
| 175 | for (const auto& button : controller.second.hat_buttons) { | 175 | for (const auto& button : controller.second.hat_buttons) { |
| 176 | SetHatButton(controller.first, button.first, false); | 176 | SetHatButton(controller.first, button.first, 0); |
| 177 | } | 177 | } |
| 178 | } | 178 | } |
| 179 | } | 179 | } |