View source
class FlxTypedGamepadAnalogStick<TInputID>
package flixel.input.gamepad
import flixel.input.gamepad.FlxGamepadAnalogStick
Constructor
Variables
read onlydigitalThreshold:Float = 0.5
the absolute value the dpad must be greater than before digital inputs are sent
read onlymode:FlxAnalogToDigitalMode = BOTH
when analog inputs are received, how to process them digitally
read onlyrawDown:TInputID = cast -1
a raw button input ID, for sending a digital event for "down" alongside the analog event
read onlyrawLeft:TInputID = cast -1
a raw button input ID, for sending a digital event for "left" alongside the analog event
read onlyrawRight:TInputID = cast -1
a raw button input ID, for sending a digital event for "right" alongside the analog event
read onlyrawUp:TInputID = cast -1
a raw button input ID, for sending a digital event for "up" alongside the analog event