You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user