|
@@ -224,7 +224,7 @@ public:
|
|
|
|
|
|
virtual Ref<InputEvent> xformed_by(const Transform2D &p_xform, const Vector2 &p_local_ofs = Vector2()) const;
|
|
virtual Ref<InputEvent> xformed_by(const Transform2D &p_xform, const Vector2 &p_local_ofs = Vector2()) const;
|
|
|
|
|
|
- virtual bool action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
|
|
|
|
+ virtual bool action_match(const Ref<InputEvent> &p_event, bool p_exact_match, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
virtual bool is_action_type() const;
|
|
virtual bool is_action_type() const;
|
|
|
|
|
|
@@ -312,7 +312,7 @@ public:
|
|
uint32_t get_scancode_with_modifiers() const;
|
|
uint32_t get_scancode_with_modifiers() const;
|
|
uint32_t get_physical_scancode_with_modifiers() const;
|
|
uint32_t get_physical_scancode_with_modifiers() const;
|
|
|
|
|
|
- virtual bool action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
|
|
|
|
+ virtual bool action_match(const Ref<InputEvent> &p_event, bool p_exact_match, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
|
|
|
|
virtual bool is_action_type() const { return true; }
|
|
virtual bool is_action_type() const { return true; }
|
|
@@ -371,7 +371,7 @@ public:
|
|
bool is_doubleclick() const;
|
|
bool is_doubleclick() const;
|
|
|
|
|
|
virtual Ref<InputEvent> xformed_by(const Transform2D &p_xform, const Vector2 &p_local_ofs = Vector2()) const;
|
|
virtual Ref<InputEvent> xformed_by(const Transform2D &p_xform, const Vector2 &p_local_ofs = Vector2()) const;
|
|
- virtual bool action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
|
|
|
|
+ virtual bool action_match(const Ref<InputEvent> &p_event, bool p_exact_match, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
|
|
|
|
virtual bool is_action_type() const { return true; }
|
|
virtual bool is_action_type() const { return true; }
|
|
@@ -429,7 +429,7 @@ public:
|
|
|
|
|
|
virtual bool is_pressed() const;
|
|
virtual bool is_pressed() const;
|
|
|
|
|
|
- virtual bool action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
|
|
|
|
+ virtual bool action_match(const Ref<InputEvent> &p_event, bool p_exact_match, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
|
|
|
|
virtual bool is_action_type() const { return true; }
|
|
virtual bool is_action_type() const { return true; }
|
|
@@ -457,7 +457,7 @@ public:
|
|
void set_pressure(float p_pressure);
|
|
void set_pressure(float p_pressure);
|
|
float get_pressure() const;
|
|
float get_pressure() const;
|
|
|
|
|
|
- virtual bool action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
|
|
|
|
+ virtual bool action_match(const Ref<InputEvent> &p_event, bool p_exact_match, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
|
|
|
|
virtual bool is_action_type() const { return true; }
|
|
virtual bool is_action_type() const { return true; }
|
|
@@ -544,9 +544,9 @@ public:
|
|
|
|
|
|
virtual bool is_action(const StringName &p_action) const;
|
|
virtual bool is_action(const StringName &p_action) const;
|
|
|
|
|
|
- virtual bool action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
|
|
-
|
|
|
|
|
|
+ virtual bool action_match(const Ref<InputEvent> &p_event, bool p_exact_match, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
virtual bool shortcut_match(const Ref<InputEvent> &p_event, bool p_exact_match = true) const;
|
|
|
|
+
|
|
virtual bool is_action_type() const { return true; }
|
|
virtual bool is_action_type() const { return true; }
|
|
virtual String as_text() const;
|
|
virtual String as_text() const;
|
|
|
|
|