Keystroke object
Keystroke object represents a keystroke sequence to emulate keyboard.
The Keystroke object, contrary to its name, does not represent a simple key press or release; instead, it can express a sequence of continuous key inputs.
Constructors
Constructor |
---|
mapper.keystroke() |
Properties
Name | Description |
---|---|
Keystroke.duration | The duration of key press |
Keystroke.interval | The interval between keystrokes |
Methods
Name | Description |
---|---|
Keystroke:synthesize() | Synthesize keystroke sequence held by this object |
Keystroke:synthesizer() | Create a native-action to synthesize keystroke sequence hold by this object |
Operators
Operator | Description |
---|---|
+ | Concatenating operation for keystrokes |