A helper class for gamepad input -- returns X/Y analog coordinate values between 0.0 and 1.0 Provides optimized gamepad button checking using direct array access.

Constructor

new(gamepad:FlxGamepad)

Variables

read onlyX:Float

horizontal position (0.0-1.0) on the touch-surface or pointer-space

read onlyY:Float

vertical position (0.0-1.0) on the touch-surface or pointer-space

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

whether or not the current gamepad model supports any pointer features (IR Camera, touch surface, etc)