Skip to main content

ButtonChangedEventArgs Class

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

The events args for the ButtonPressed and ButtonReleased events.

public class ButtonChangedEventArgs : EventArgs

Properties

Which

public int Which { get; set; }

The index of the changed button.

State

public ButtonState State { get; set; }

The new state of the button.