From be7932f80948679e1ad34baf927955b2907b7f11 Mon Sep 17 00:00:00 2001 From: sezanzeb Date: Fri, 27 Nov 2020 21:31:03 +0100 Subject: [PATCH] improved macro docs --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 01e59958..728a8773 100644 --- a/README.md +++ b/README.md @@ -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