ButtonChangedEventArgs Class
Package: GHIElectronics.Endpoint.Devices.UsbHost
Namespace: GHIElectronics.Endpoint.Devices.UsbHost
The events args for the ButtonPressed and ButtonReleased events.
public class ButtonChangedEventArgs : EventArgs
Constructors
ButtonChangedEventArgs()
public ButtonChangedEventArgs()
Properties
State
public ButtonState State { get; }
The new state of the button.
Returns ButtonState
Which
public int Which { get; }
The index of the changed button.
Returns int