A Nintendo Switch Pro controller connected to a desktop mac/windows PC using the HID interface.
Inheritance
SwitchProControllerHID
public class SwitchProControllerHID : Gamepad, IDualMotorRumble, IHaptics, IInputStateCallbackReceiver, IEventPreProcessor
Properties
Declaration
public ButtonControl captureButton { get; protected set; }
Property Value
Declaration
public ButtonControl homeButton { get; protected set; }
Property Value
Methods
Declaration
public bool GetStateOffsetForEvent(InputControl control, InputEventPtr eventPtr, ref uint offset)
Parameters
Returns
Implements
Declaration
protected override void OnAdded()
Overrides
Declaration
public void OnNextUpdate()
Implements
Declaration
public void OnStateEvent(InputEventPtr eventPtr)
Parameters
Implements
Declaration
public bool PreProcessEvent(InputEventPtr eventPtr)
Parameters
Returns
Extension Methods