Skip to main content

HatSwitchPressedEventArgs Class

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

The events args for the HatSwitchPressed event.

class HatSwitchPressedEventArgs : public EventArgs {};

Constructors​

HatSwitchPressedEventArgs()​

HatSwitchPressedEventArgs();

Properties​

Direction​

HatSwitchDirection Direction() const;

The new direction of the hat switch.

Returns HatSwitchDirection