buttonX property

bool buttonX

Returns true if the X button is pressed down.

Implementation

bool get buttonX => _buttonBitmask & XINPUT_GAMEPAD_X == XINPUT_GAMEPAD_X;