update README.md

This commit is contained in:
sezanzeb 2020-11-27 21:31:58 +01:00
parent be7932f809
commit e5efa6555a
2 changed files with 4 additions and 4 deletions

View File

@ -29,9 +29,9 @@ 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

View File

@ -33,7 +33,7 @@ all of the configured stuff.
Examples Examples
-------- --------
r(3, k('a').w(10)): 'a' <10ms> 'a' <10ms> 'a' r(3, k('a').w(10)): 'a' <10ms> 'a' <10ms> 'a'
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).k('b'): <1s> 'A' 'A' <10ms> 'b' w(1000).m('SHIFT_L', r(2, k('a'))).w(10).k('b'): <1s> 'A' 'A' <10ms> 'b'
""" """