SyntheticInput.pressKey

Sends a fake press or release key event.

Please note you need to call flushGui or return to the event loop for this to actually be sent on X11.

struct SyntheticInput
void
pressKey
(,
bool pressed
,
int delay = 0
)

Bugs

The delay parameter is not implemented yet on Windows.

Not implemented except on Windows and X11.

Meta