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

Constructor

new(gamepad:FlxGamepad)

Variables

read onlyTILT_PITCH:Float

analog value (-1.0 to +1.0) tilting towards or away from the ceiling (think "look up", "look down")

read onlyTILT_ROLL:Float

analog value (-1.0 to +1.0) tilting side-to-side (think "twisting", or "do a barrel roll!")

@:allow(flixel.input.gamepad.FlxGamepad)read onlyisSupported:Bool