improved macro docs

pull/14/head
sezanzeb 4 years ago
parent e6a4fc4b93
commit be7932f809

@ -29,15 +29,16 @@ key-mapper-service
## Macros ## Macros
It is possible to write timed macros into the center column: It is possible to write timed macros into the center column:
- `r(3, k('a').w(10))`: aaa - `r(3, k("a").w(10))`: aaa
- `r(2, k('a').k('-').k('b')`: a-a-b - `r(2, k("a").k("-").k("b")`: a-a-b
- `w(1000).m('SHIFT_L', r(2, k('a'))).w(10, 20).k('b')`: AAb - `w(1000).m("SHIFT_L", r(2, k("a"))).w(10, 20).k("b")`: AAb
Documentation: Documentation:
- `r` repeats - `r` repeats
- `w` waits in ms (randomly with 2 parameters) - `w` waits in ms (randomly with 2 parameters)
- `k` writes a keystroke - `k` writes a keystroke
- `m` modifies - `m` modifies
- `.` executes two actions behind each other
## Git Installation ## Git Installation

Loading…
Cancel
Save