summaryrefslogtreecommitdiff
path: root/core/input/input.h
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2021-08-13 00:31:16 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2021-08-13 11:19:19 +0200
commit7c864d41c9aa8c6b1c585175fc997af8070f6b30 (patch)
tree03ee430a5d2787190969291619bfa7af1063fd52 /core/input/input.h
parent39efccf3b8298e30aa67a726ffd8752b3dff4c66 (diff)
Improve input event accumulation
- API has been simplified: all events now go through `parse_input_event()`. Whether they are accumulated or not depends on the `use_accumulated_input` flag. - Event accumulation is now thread-safe (it was not needed so far, but it prepares the ground for the following changes). - Touch drag events now support accumulation.
Diffstat (limited to 'core/input/input.h')
-rw-r--r--core/input/input.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/input/input.h b/core/input/input.h
index ee991aa725..d08e6437a5 100644
--- a/core/input/input.h
+++ b/core/input/input.h
@@ -323,7 +323,6 @@ public:
String get_joy_guid(int p_device) const;
void set_fallback_mapping(String p_guid);
- void accumulate_input_event(const Ref<InputEvent> &p_event);
void flush_accumulated_events();
void set_use_accumulated_input(bool p_enable);