Skip to main content

HatSwitchPressedEventHandler Delegate

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

The delegate for when the joystick's hat switch is pressed.

using HatSwitchPressedEventHandler = std::function<void(Joystick, HatSwitchPressedEventArgs)>;