Type Number Object InputDevice Revision Release 2020.3601 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.