Update Macros docs with example of Macros.play()

Closes https://github.com/keyboardio/Kaleidoscope/issues/836
pull/839/head
Travis Northcutt 5 years ago committed by GitHub
parent c097a21bfd
commit b9c88b0bc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,7 +83,9 @@ The plugin provides a `Macros` object, with the following methods and properties
> helper discussed below. This method will be used by the plugin to play back
> the result of the `macroAction()` method, but is used rarely otherwise.
>
> The `macro` argument must be a sequence created with the `MACRO()` helper!
> The `macro` argument must be a sequence created with the `MACRO()` helper! For example:
>
> Macros.play(MACRO(D(LeftControl), D(LeftAlt), D(Spacebar), U(LeftControl), U(LeftAlt), U(Spacebar)));
### `.type(strings...)`

Loading…
Cancel
Save