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;

The new state of the button.

Returns ButtonState

Which​

int32_t Which() const;

The index of the changed button.

Returns int