You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix action exact match
This commit is contained in:
committed by
Nathan Franke
parent
8b8e858778
commit
dc1c4cfbfa
@@ -58,7 +58,7 @@ private:
|
||||
OrderedHashMap<String, List<Ref<InputEvent>>> default_builtin_cache;
|
||||
OrderedHashMap<String, List<Ref<InputEvent>>> default_builtin_with_overrides_cache;
|
||||
|
||||
List<Ref<InputEvent>>::Element *_find_event(Action &p_action, const Ref<InputEvent> &p_event, bool p_exact_match = false, bool *p_pressed = nullptr, float *p_strength = nullptr, float *p_raw_strength = nullptr) const;
|
||||
List<Ref<InputEvent>>::Element *_find_event(Action &p_action, const Ref<InputEvent> &p_event, bool p_exact_match = false, bool *r_pressed = nullptr, float *r_strength = nullptr, float *r_raw_strength = nullptr) const;
|
||||
|
||||
Array _action_get_events(const StringName &p_action);
|
||||
Array _get_actions();
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
|
||||
const List<Ref<InputEvent>> *action_get_events(const StringName &p_action);
|
||||
bool event_is_action(const Ref<InputEvent> &p_event, const StringName &p_action, bool p_exact_match = false) const;
|
||||
bool event_get_action_status(const Ref<InputEvent> &p_event, const StringName &p_action, bool p_exact_match = false, bool *p_pressed = nullptr, float *p_strength = nullptr, float *p_raw_strength = nullptr) const;
|
||||
bool event_get_action_status(const Ref<InputEvent> &p_event, const StringName &p_action, bool p_exact_match = false, bool *r_pressed = nullptr, float *r_strength = nullptr, float *r_raw_strength = nullptr) const;
|
||||
|
||||
const OrderedHashMap<StringName, Action> &get_action_map() const;
|
||||
void load_from_project_settings();
|
||||
|
||||
Reference in New Issue
Block a user