Static methods

staticaddInputMap(inputMap:String):InputMap

staticgetInputMap(inputMap:String):Null<InputMap>

staticremoveInputMapKey(inputMap:String, key:String):Bool

Constructor

new()

Variables

@:value(new Array<InputMapKey>())read onlykeys:Array<InputMapKey> = new Array<InputMapKey>()

@:value("")read onlylastKeyPressed:String = ""

Methods

@:value({ deadzone : 0.0, scale : 1.0 })addGamepad(key:String, scale:FastFloat = 1.0, deadzone:FastFloat = 0.0):InputMapKey

@:value({ scale : 1.0 })addKeyboard(key:String, scale:FastFloat = 1.0):InputMapKey

@:value({ deadzone : 0.0, scale : 1.0 })addMouse(key:String, scale:FastFloat = 1.0, deadzone:FastFloat = 0.0):InputMapKey