platform.inputrecording

Code used to handle recording and replaying of InputDevice input.

Members

Classes

BinaryRecording
class BinaryRecording(Input)

Recording that iterates over events recorded as binary data by a Recorder.

InputRecordingDevice
class InputRecordingDevice

Records input received by an InputDevice. Used to generate recorded input benchmarking demos (and possibly input macros in future?).

Recording
class Recording(Input)

Base class for input recordings of specified Input type (Mouse or Keyboard).

YAMLRecording
class YAMLRecording(Input)

Recording that reads recorded input from YAML.

Enums

RecordingState
enum RecordingState

Enumerates possible recording states of an InputRecordingDevice.

Functions

recordingAsYAML
YAMLNode recordingAsYAML(InputRecordingDevice recorder)

Convert input data from all sources recorded by an InputDevice to YAML.

replayFromYAML
void replayFromYAML(InputDevice input, YAMLNode yaml, Flag!"block" block)

Replay input data from YAML as generated by recordingAsWAML.

toYAML
YAMLNode toYAML(Recording!Input recording)

Convert an input recording to YAML.

Structs

Recorder
struct Recorder(Input)

Records input of an Input type (Mouse or Keyboard).

Meta