Browse Source

input_common: Add missing modifier callback to analog from button

german77 5 years ago
parent
commit
c19ec2edd9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/input_common/analog_from_button.cpp

+ 1 - 0
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 {