1
0
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:
Thaddeus Crews
2025-09-01 11:14:12 -05:00
3 changed files with 25 additions and 10 deletions

View File

@@ -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;