Merge pull request #6561 from german77/analog_fix
input_common: Add missing modifier callback to analog from button
This commit is contained in:
commit
942c0d6cdd
|
@ -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 {
|
||||||
|
|
Reference in New Issue