Events raised by the button service

interface ButtonEvents {
    buttonastatechanged: ButtonState;
    buttonbstatechanged: ButtonState;
}

Properties

buttonastatechanged: ButtonState

Button A state changed event

buttonbstatechanged: ButtonState

Button B state changed event