Fixing input strength and the impossibility to erase action events

This commit is contained in:
groud
2018-04-25 22:29:39 +02:00
parent 6faa96fb89
commit 0aa8b35ee6
3 changed files with 7 additions and 5 deletions

View File

@ -55,7 +55,7 @@ private:
mutable Map<StringName, Action> input_map;
List<Ref<InputEvent> >::Element *_find_event(Action p_action, const Ref<InputEvent> &p_event, bool *p_pressed = NULL, float *p_strength = NULL) const;
List<Ref<InputEvent> >::Element *_find_event(Action &p_action, const Ref<InputEvent> &p_event, bool *p_pressed = NULL, float *p_strength = NULL) const;
Array _get_action_list(const StringName &p_action);
Array _get_actions();