new()
down(key:KeyCode):Null<Bool>
Check if the key was down.
Parameters:
key
Keyboard's key.
endFrame():Void
released(key:KeyCode):Null<Bool>
Check if the key was released.
Keyboard's Key.
started(key:KeyCode):Null<Bool>
Check if the key was pressed.