mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #108214 from Nintorch/fix-joypad-vendor-product
Fix `Input.get_joy_info()` regression after the SDL input driver PR
This commit is contained in:
commit
52a5644b5f
3 changed files with 25 additions and 10 deletions
|
|
@ -663,6 +663,9 @@ void Input::joy_connection_changed(int p_idx, bool p_connected, const String &p_
|
|||
}
|
||||
}
|
||||
}
|
||||
// We don't want this setting to be exposed to the user, because it's not very useful outside of this method.
|
||||
js.info.erase("mapping_handled");
|
||||
|
||||
_set_joypad_mapping(js, mapping);
|
||||
} else {
|
||||
js.connected = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue