Gamepads¶
Import: import system.window;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
Gamepads¶
The gamepads connected as of one Window.poll, ordered by slot.
length¶
The number of connected gamepads.
first¶
The connected gamepad with the lowest slot, or None when none is connected.
at¶
The connected gamepad at index, counting from 0 in slot order, or None when index is negative or not less than length.