Skip to main content

HatSwitchPressedEventArgs Class

Namespace: GHIElectronics.TinyCLR.Devices.UsbHost · Assembly: GHIElectronics.TinyCLR.Devices.UsbHost

The events args for the HatSwitchPressed event.

public class HatSwitchPressedEventArgs : EventArgs

Properties

Direction

public HatSwitchDirection Direction { get; set; }

The new direction of the hat switch.