Skip to main content

ButtonChangedEventArgs Class

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

The events args for the ButtonPressed and ButtonReleased events.

class ButtonChangedEventArgs : public EventArgs {};

Constructors​

ButtonChangedEventArgs()​

ButtonChangedEventArgs();

Properties​

State​

ButtonState State() const;
void State(ButtonState value);

The new state of the button.

Returns ButtonState

Which​

Buttons Which() const;
void Which(Buttons value);

Which button changed its state.

Returns Buttons