improved macro docs

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

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

Loading…
Cancel
Save