Type Number Object InputDevice Revision 2019.3470 Keywords device, input, playerNumber
Read-only property which returns the player number assigned to a game controller by the system, such as a Windows' XInput (Xbox) game controller or
4, typically indicated by a light on the controller. On Android TV and
4 as well.
This property will be
nil if the InputDevice or system does not support assigning player numbers to a controller, such as HID and DirectInput devices on Windows, or HID devices on macOS.