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 / @setter

The new state of the button.

Returns ButtonState

Which​

Which: Buttons # @property / @setter

Which button changed its state.

Returns Buttons