Constructor

Variables

@:value(0.5)read onlydigitalThreshold:Float = 0.5

the absolute value the dpad must be greater than before digital inputs are sent

@:value(BOTH)read onlymode:FlxAnalogToDigitalMode = BOTH

when analog inputs are received, how to process them digitally

@:value(-1)read onlyrawDown:Int = -1

a raw button input ID, for sending a digital event for "down" alongside the analog event

@:value(-1)read onlyrawLeft:Int = -1

a raw button input ID, for sending a digital event for "left" alongside the analog event

@:value(-1)read onlyrawRight:Int = -1

a raw button input ID, for sending a digital event for "right" alongside the analog event

@:value(-1)read onlyrawUp:Int = -1

a raw button input ID, for sending a digital event for "up" alongside the analog event

read onlyx:Int

read onlyy:Int

Methods