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.
✎ AI-written, based on Nucleus PlayerInfo.cs (IsXInput setter), DevicesFunctions.cs (gamepad polling), GameProfile.cs (profile load). Not from the official docs. Is it wrong? Tell us
Is this right?
Tell us what's wrong