A helper class for gamepad input. Provides optimized gamepad button checking using direct array access.

Constructor

new(status:FlxInputState, gamepad:FlxGamepad)

Variables

read onlyA:Bool

read onlyACCEPT:Bool

Mapped to The bottom face button on most controllers, and the right face button on Nintendo Switch controllers

read onlyB:Bool

read onlyBACK:Bool

Also known as "select", the left-most center button. Not to be confused with CANCEL, which is a face button (usually B)

read onlyCANCEL:Bool

Mapped to The right face button on most controllers, and the bottom face button on Nintendo Switch controllers. Not to be confused with BACK which is the XInput "select" button

read onlyDPAD:Bool

read onlyDPAD_DOWN:Bool

read onlyDPAD_LEFT:Bool

read onlyDPAD_RIGHT:Bool

read onlyDPAD_UP:Bool

read onlyEXTRA_0:Bool

read onlyEXTRA_1:Bool

read onlyEXTRA_2:Bool

read onlyEXTRA_3:Bool

read onlyGUIDE:Bool

read onlyPOINTER_X:Bool

read onlyPOINTER_Y:Bool

read onlySTART:Bool

read onlyTILT_PITCH:Bool

read onlyTILT_ROLL:Bool

read onlyX:Bool

read onlyY:Bool

Inherited Variables

Defined by FlxBaseGamepadList

read onlyALL:Bool

read onlyANY:Bool

read onlyNONE:Bool

Inherited Methods