ControlsSubState
| Kind | class |
| Package | options |
| Full name | options.ControlsSubState |
| Source | source/options/ControlsSubState.hx |
| Extends | MusicBeatSubstate |
Public methods
new (constructor)
function new()
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
curSelected | Int | yes |
curAlt | Bool | yes |
defaultKey | String | yes |
bindLength | Int | no |
menuOptions | Array<Dynamic> | no |
HARDWARE_NOTE | String | yes |
HARDWARE_CAPTURE_NOTE | String | yes |
hardwareOptions | Array<Dynamic> | no |
grpOptions | FlxTypedGroup<Alphabet> | no |
grpInputs | Array<AttachedText> | no |
grpInputsAlt | Array<AttachedText> | no |
rebindingKey | Bool | no |
nextAccept | Int | no |
hardwareNote | FlxText | no |
hardwareKeyListener | Int->Bool->Void = null | no |
pendingHardwareKey | Int | no |
capturingHardware | Bool | no |
leaving | Bool | no |
bindingTime | Float | no |
| Method |
|---|
function hasHardwareRows():Bool |
static function isHardwareBind(name:String):Bool |
function onHardwareKeyCaptured(keyCode:Int, down:Bool):Void |
function startHardwareCapture():Void |
function stopHardwareCapture():Void |
override function destroy():Void |
override function update(elapsed:Float) |
function setBindSlot(key:Int):Void |
function getInputTextNum() |
function changeSelection(change:Int = 0) |
function changeAlt() |
function unselectableCheck(num:Int, checkDefaultKey:Bool = false):Bool |
function addBindTexts(optionText:Alphabet, num:Int) |
function reloadKeys() |