Nucleus handler tools βΊ Docs βΊ Player βΊ IsXInput
Player.IsXInput
Open in the workbench (search, and try it in a handler)
Player.IsXInput: boolean
True if this player's gamepad was detected through XInput on the setup screen (done when Game.Hook.XInputEnabled is on without XInputReroute and Game.ProtoInput.DinputDeviceHook, or with Game.ProtoInput.XinputHook). False for DirectInput, SDL2 and keyboard/mouse players.
Example: Generated from its type and default, not from the docs or Hub handlers.
var isXInput = Player.IsXInput;
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback