Default state layout for gamepads.
public struct GamepadState : IInputStateTypeInfo
Constructors
Declaration
public GamepadState(params GamepadButton[] buttons)
Parameters
Fields
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
Declaration
Field Value
Position of the left trigger.
Declaration
Field Value
Type |
Description |
System.Single |
|
Declaration
public Vector2 rightStick
Field Value
Position of the right trigger.
Declaration
public float rightTrigger
Field Value
Type |
Description |
System.Single |
|
Properties
Declaration
public FourCC format { get; }
Property Value
Implements
Declaration
public static FourCC kFormat { get; }
Property Value
Methods
Declaration
public GamepadState WithButton(GamepadButton button, bool value = true)
Parameters
Returns
See Also