InputDevice.replay

Start replaying mouse input from a recording.

The recording will continue to play until it is spent. Will consume the recording.

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

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

Parameters

recording Recording!Mouse

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

block Flag!"blockMouse"

Should input from the real mouse be blocked while replaying?

Meta