summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-07-05 18:47:42 +0200
committerGitHub <noreply@github.com>2021-07-05 18:47:42 +0200
commit942c0d6cdd7975ded7435917ce24fdbaa4b8077d (patch)
tree04282eae13b0e03b7fded4e42b44b827ae8d08ce
parentMerge pull request #6559 from german77/compilation_warnings (diff)
parentinput_common: Add missing modifier callback to analog from button (diff)
downloadyuzu-942c0d6cdd7975ded7435917ce24fdbaa4b8077d.tar
yuzu-942c0d6cdd7975ded7435917ce24fdbaa4b8077d.tar.gz
yuzu-942c0d6cdd7975ded7435917ce24fdbaa4b8077d.tar.bz2
yuzu-942c0d6cdd7975ded7435917ce24fdbaa4b8077d.tar.lz
yuzu-942c0d6cdd7975ded7435917ce24fdbaa4b8077d.tar.xz
yuzu-942c0d6cdd7975ded7435917ce24fdbaa4b8077d.tar.zst
yuzu-942c0d6cdd7975ded7435917ce24fdbaa4b8077d.zip
-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 {