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(EventArgs): ...

Constructors​

ButtonChangedEventArgs()​

def __init__(self):

Properties​

State​

State: ButtonState # @property

The new state of the button.

Returns ButtonState

Which​

Which: int # @property

The index of the changed button.

Returns int