InputSingleton.parseInputEvent

Feeds an InputEvent to the game. Can be used to artificially trigger input events from code. Also generates Node._input calls.

struct InputSingleton
@nogc nothrow
void
parseInputEvent

Examples

var a = InputEventAction.new() a.action = "ui_cancel" a.pressed = true Input.parse_input_event(a)

Meta