Merge pull request #114372 from Nintorch/document-joypad-id-order

Clarify `Input.get_connected_joypads()` order
This commit is contained in:
Thaddeus Crews 2026-02-26 08:15:21 -06:00
commit ef21cbeab2
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -94,6 +94,7 @@
<return type="int[]" />
<description>
Returns an [Array] containing the device IDs of all currently connected joypads.
[b]Note:[/b] The order of connected joypads can not be guaranteed to be the same after a project and/or the editor is restarted, because Godot doesn't save the order of joypad connections. Joypads are registered in the order they are discovered by Godot.
</description>
</method>
<method name="get_current_cursor_shape" qualifiers="const">