Browse Source
Merge pull request #7730 from v1993/patch-6
input_common: nitpick about SetHatButton usage
pull/15/merge
Mai M
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|