summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-08 16:00:01 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-11-08 16:00:01 +0100
commit9d4e596c69b0b03e94af4ea4cfb49e0371776ec6 (patch)
tree5c5dd1cd90ca11258832284212eb45b0bf00c674 /core
parent0e54b2d43c8d48b97fc3300dea679a05efa28dca (diff)
doc: Sync classref with current source
Fix incomplete binding.
Diffstat (limited to 'core')
-rw-r--r--core/os/input_event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input_event.cpp b/core/os/input_event.cpp
index 8f1eb93fe6..f09a904953 100644
--- a/core/os/input_event.cpp
+++ b/core/os/input_event.cpp
@@ -112,7 +112,7 @@ void InputEvent::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_device"), &InputEvent::get_device);
ClassDB::bind_method(D_METHOD("is_action", "action"), &InputEvent::is_action);
- ClassDB::bind_method(D_METHOD("is_action_pressed", "action"), &InputEvent::is_action_pressed, DEFVAL(false));
+ ClassDB::bind_method(D_METHOD("is_action_pressed", "action", "allow_echo"), &InputEvent::is_action_pressed, DEFVAL(false));
ClassDB::bind_method(D_METHOD("is_action_released", "action"), &InputEvent::is_action_released);
ClassDB::bind_method(D_METHOD("get_action_strength", "action"), &InputEvent::get_action_strength);