Skip to main content

HatSwitchPressedEventArgs Class

Package: GHIElectronics.Endpoint.Devices.UsbHost
Namespace: GHIElectronics.Endpoint.Devices.UsbHost

The events args for the HatSwitchPressed event.

public class HatSwitchPressedEventArgs : EventArgs

Constructors​

HatSwitchPressedEventArgs()​

public HatSwitchPressedEventArgs()

Properties​

Direction​

public HatSwitchDirection Direction { get; }

The new direction of the hat switch.

Returns HatSwitchDirection