summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-07-05 12:47:42 -0400
committerGitHub <noreply@github.com>2021-07-05 12:47:42 -0400
commit942c0d6cdd7975ded7435917ce24fdbaa4b8077d (patch)
tree04282eae13b0e03b7fded4e42b44b827ae8d08ce
parentdd44089f87a63c0f8ec1bc8538d900ab0637e510 (diff)
parentc19ec2edd9732b50b6ea95f2ea7b031511c75491 (diff)
Merge pull request #6561 from german77/analog_fix
input_common: Add missing modifier callback to analog from button
-rwxr-xr-xsrc/input_common/analog_from_button.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_common/analog_from_button.cpp b/src/input_common/analog_from_button.cpp
index 100138d11..2fafd077f 100755
--- a/src/input_common/analog_from_button.cpp
+++ b/src/input_common/analog_from_button.cpp
@@ -27,6 +27,7 @@ public:
down->SetCallback(callbacks);
left->SetCallback(callbacks);
right->SetCallback(callbacks);
+ modifier->SetCallback(callbacks);
}
bool IsAngleGreater(float old_angle, float new_angle) const {