...
new(Input:FlxKey, ?Combos:Array<FlxKey>, ?Forbiddens:Array<FlxKey>)
combos:Array<Int>
Any other inputs that must be pressed at the same time, ie, shift, alt, etc
forbiddens:Array<Int>
Any other inputs, that if pressed at the same time, forbid the press. (Forbidden is useful so you can distinguish a "TAB" from a "SHIFT+TAB" -- you add "SHIFT" to the first one's forbidden list)
input:Int
The code for the main input itself, ie, tab, or the A button
destroy():Void
equals(other:FlxBaseMultiInput):Bool
justPressed():Bool
Was the main key JUST pressed, AND are all of the combo keys currently pressed? (and none of the forbiddens?)
justReleased():Bool
Was the main key JUST released, AND are no forbidden keys currently pressed? (Ignore whether combos were just released)
pressed():Bool
Is the main key and all of the combo keys currently pressed? (and none of the forbiddens?)