InputDevice.replay

Start replaying keyboard input from a recording.

If something is already replaying (from a previous replay() call), it will be overridden.

  1. void replay(Recording!Mouse recording, Flag!"blockMouse" block)
  2. void replay(Recording!Keyboard recording, Flag!"blockKeyboard" block)
    class InputDevice
    @safe pure nothrow @nogc
    void
    replay
    (,
    Flag!"blockKeyboard" block
    )

Parameters

recording Recording!Keyboard

The recording to play. Will continue to play until spent. Will be consumed by the InputDevice.

block Flag!"blockKeyboard"

Should input from the real keyboard be blocked while replaying?

Meta