diff options
author | Juan Linietsky <juan@godotengine.org> | 2019-03-03 19:52:18 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2019-03-03 19:53:13 -0300 |
commit | a1e73dcc944627ab7185aec7cd4141fe4ebb97d7 (patch) | |
tree | 917b9912d48607e19d214a0e3931dd325f75d1e6 /core/os/input.cpp | |
parent | a9fe834a8e962a7b9e15e5dc218af4b857b47da4 (diff) | |
download | redot-engine-a1e73dcc944627ab7185aec7cd4141fe4ebb97d7.tar.gz |
Add support for event accumlation (off by default, on for editor), fixes #26536
Diffstat (limited to 'core/os/input.cpp')
-rw-r--r-- | core/os/input.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp index cf11ba3c6d..caa9fb1493 100644 --- a/core/os/input.cpp +++ b/core/os/input.cpp @@ -91,6 +91,7 @@ void Input::_bind_methods() { ClassDB::bind_method(D_METHOD("set_default_cursor_shape", "shape"), &Input::set_default_cursor_shape, DEFVAL(CURSOR_ARROW)); ClassDB::bind_method(D_METHOD("set_custom_mouse_cursor", "image", "shape", "hotspot"), &Input::set_custom_mouse_cursor, DEFVAL(CURSOR_ARROW), DEFVAL(Vector2())); ClassDB::bind_method(D_METHOD("parse_input_event", "event"), &Input::parse_input_event); + ClassDB::bind_method(D_METHOD("set_use_accumulated_input", "enable"), &Input::set_use_accumulated_input); BIND_ENUM_CONSTANT(MOUSE_MODE_VISIBLE); BIND_ENUM_CONSTANT(MOUSE_MODE_HIDDEN); |