3
0
Fork 0
forked from suyu/suyu

Merge pull request #6561 from german77/analog_fix

input_common: Add missing modifier callback to analog from button
This commit is contained in:
Morph 2021-07-05 12:47:42 -04:00 committed by GitHub
commit 942c0d6cdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,7 @@ public:
down->SetCallback(callbacks); down->SetCallback(callbacks);
left->SetCallback(callbacks); left->SetCallback(callbacks);
right->SetCallback(callbacks); right->SetCallback(callbacks);
modifier->SetCallback(callbacks);
} }
bool IsAngleGreater(float old_angle, float new_angle) const { bool IsAngleGreater(float old_angle, float new_angle) const {