From 49c7620326a557bc809340dd1090b46120e43eac Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Wed, 19 Jul 2017 02:03:34 +0700 Subject: Add object type hint for docs --- core/os/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/os/input.cpp') diff --git a/core/os/input.cpp b/core/os/input.cpp index bc388d0bca..587340fe91 100644 --- a/core/os/input.cpp +++ b/core/os/input.cpp @@ -84,7 +84,7 @@ void Input::_bind_methods() { ClassDB::bind_method(D_METHOD("action_press", "action"), &Input::action_press); ClassDB::bind_method(D_METHOD("action_release", "action"), &Input::action_release); ClassDB::bind_method(D_METHOD("set_custom_mouse_cursor", "image:Texture", "hotspot"), &Input::set_custom_mouse_cursor, DEFVAL(Vector2())); - ClassDB::bind_method(D_METHOD("parse_input_event", "event"), &Input::parse_input_event); + ClassDB::bind_method(D_METHOD("parse_input_event", "event:InputEvent"), &Input::parse_input_event); BIND_CONSTANT(MOUSE_MODE_VISIBLE); BIND_CONSTANT(MOUSE_MODE_HIDDEN); -- cgit v1.2.3