View source
class FlxActionInputDigitalKeyboard
package flixel.input.actions
extends FlxActionInputDigital › FlxActionInput
import flixel.input.actions.FlxActionInputDigital
Available since
4.6.0
.Constructor
new(Key:FlxKey, Trigger:FlxInputState)
Keyboard action input
Parameters:
Key | Key identifier (FlxKey.SPACE, FlxKey.Z, etc) |
---|---|
Trigger | What state triggers this action (PRESSED, JUST_PRESSED, RELEASED, JUST_RELEASED) |