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
    void
    replay
    @safe pure nothrow @nogc
    (
    Recording!Mouse recording
    ,
    Flag!"blockMouse" block
    )
  2. void replay(Recording!Keyboard recording, Flag!"blockKeyboard" block)

Parameters

recording
Type: Recording!Mouse

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

block
Type: Flag!"blockMouse"

Should input from the real mouse be blocked while replaying?

Meta