buttonA property

bool buttonA

Returns true if the A button is pressed down.

Implementation

bool get buttonA =>
    _buttonBitmask & XINPUT_GAMEPAD_BUTTON_FLAGS.XINPUT_GAMEPAD_A ==
    XINPUT_GAMEPAD_BUTTON_FLAGS.XINPUT_GAMEPAD_A;