buttonB property

bool buttonB

Returns true if the B button is pressed down.

Implementation

bool get buttonB =>
    _buttonBitmask & XINPUT_GAMEPAD_BUTTON_FLAGS.XINPUT_GAMEPAD_B ==
    XINPUT_GAMEPAD_BUTTON_FLAGS.XINPUT_GAMEPAD_B;