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(EventArgs): ...

Constructors​

HatSwitchPressedEventArgs()​

def __init__(self):

Properties​

Direction​

Direction: HatSwitchDirection # @property

The new direction of the hat switch.

Returns HatSwitchDirection