replayFromYAML

Replay input data from YAML as generated by recordingAsWAML.

Will fail with a logged warning (in the InputDevice log) if YAML didn't store a valid recording.

void
replayFromYAML
@safe nothrow
(
,
YAMLNode yaml
,
Flag!"block" block
)

Parameters

input

InputDevice to replay the input.

yaml
Type: YAMLNode

YAML to load input to replay from.

block
Type: Flag!"block"

Should the real input sources be blocked while replaying? (E.g. blocking the actual mouse while replaying mouse input).

Meta