diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-04-07 16:06:14 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 16:06:14 -0300 |
commit | 440b7a969042bd1ecd51169f009eef0076cd98c0 (patch) | |
tree | d3c82b04eeb8f38010600c5e0ba30476d069b320 /core | |
parent | 704244ed886487f67308400def65a4274e549d5c (diff) | |
parent | 2f9354016fa8455cf6731be8e2c8c79d7e5fdb89 (diff) |
Merge pull request #18015 from AndreaCatania/patch-1
Fixed signal input variable name
Diffstat (limited to 'core')
-rw-r--r-- | core/os/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp index 3089ab2ce3..1d7cd7c791 100644 --- a/core/os/input.cpp +++ b/core/os/input.cpp @@ -111,7 +111,7 @@ void Input::_bind_methods() { BIND_ENUM_CONSTANT(CURSOR_HSPLIT); BIND_ENUM_CONSTANT(CURSOR_HELP); - ADD_SIGNAL(MethodInfo("joy_connection_changed", PropertyInfo(Variant::INT, "index"), PropertyInfo(Variant::BOOL, "connected"))); + ADD_SIGNAL(MethodInfo("joy_connection_changed", PropertyInfo(Variant::INT, "device"), PropertyInfo(Variant::BOOL, "connected"))); } void Input::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const { |