buttonX property
bool
buttonX
Returns true if the X button is pressed down.
Implementation
bool get buttonX => _buttonBitmask & XINPUT_GAMEPAD_X == XINPUT_GAMEPAD_X;
Returns true if the X button is pressed down.
bool get buttonX => _buttonBitmask & XINPUT_GAMEPAD_X == XINPUT_GAMEPAD_X;