buttonB property
bool
buttonB
Returns true if the B button is pressed down.
Implementation
bool get buttonB => _buttonBitmask & XINPUT_GAMEPAD_B == XINPUT_GAMEPAD_B;
Returns true if the B button is pressed down.
bool get buttonB => _buttonBitmask & XINPUT_GAMEPAD_B == XINPUT_GAMEPAD_B;