Skip to main content

HatSwitchPressedEventHandler Delegate

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

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

public delegate void HatSwitchPressedEventHandler(Joystick sender, HatSwitchPressedEventArgs e);

Parameters

ParameterTypeDescription
senderJoystickThe joystick associated with this event.
eHatSwitchPressedEventArgsThe event arguments.