diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2015-12-28 12:26:36 +0100 |
|---|---|---|
| committer | Rémi Verschelde <remi@verschelde.fr> | 2015-12-28 12:26:36 +0100 |
| commit | bfbde4dfd11be8728be4bb88d8bc109acb19ccfd (patch) | |
| tree | 80caee83551b639717c252e5f33036a75670ad8a /core/os/input.cpp | |
| parent | 37cb0faedb0aa314d5e9ca2e4f4b0e268dd3237f (diff) | |
| parent | d4993b74fc715d294ca0a77b335db3782d4bdcd6 (diff) | |
Merge pull request #3146 from akien-mga/pr-argument-names
Add missing argument names in GDScript bindings + related fixes
Diffstat (limited to 'core/os/input.cpp')
| -rw-r--r-- | core/os/input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp index 15872d02fd..53358fd4f5 100644 --- a/core/os/input.cpp +++ b/core/os/input.cpp @@ -62,8 +62,8 @@ void Input::_bind_methods() { ObjectTypeDB::bind_method(_MD("set_mouse_mode","mode"),&Input::set_mouse_mode); ObjectTypeDB::bind_method(_MD("get_mouse_mode"),&Input::get_mouse_mode); ObjectTypeDB::bind_method(_MD("warp_mouse_pos","to"),&Input::warp_mouse_pos); - ObjectTypeDB::bind_method(_MD("action_press"),&Input::action_press); - ObjectTypeDB::bind_method(_MD("action_release"),&Input::action_release); + ObjectTypeDB::bind_method(_MD("action_press","action"),&Input::action_press); + ObjectTypeDB::bind_method(_MD("action_release","action"),&Input::action_release); ObjectTypeDB::bind_method(_MD("set_custom_mouse_cursor","image:Texture","hotspot"),&Input::set_custom_mouse_cursor,DEFVAL(Vector2())); BIND_CONSTANT( MOUSE_MODE_VISIBLE ); |