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.

@safe nothrow
void
replayFromYAML

Parameters

input InputDevice

InputDevice to replay the input.

yaml YAMLNode

YAML to load input to replay from.

block Flag!"block"

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

Meta