mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-08 07:10:36 +00:00
Update macros.md
This commit is contained in:
parent
07504d47fb
commit
04c7e93253
@ -30,7 +30,7 @@ Examples:
|
||||
- `mouse(right, 4)` which keeps moving the mouse while pressed.
|
||||
Made out of `h(e(...))` internally
|
||||
- `wheel(down, 1)` keeps scrolling down while held
|
||||
- `set(foo, 1)` set "foo" to 1
|
||||
- `set(foo, 1)` set ["foo"](https://en.wikipedia.org/wiki/Metasyntactic_variable) to 1
|
||||
- `ifeq(foo, 1, k(x), k(y))` if "foo" is 1, write x, otherwise y
|
||||
- `h()` does nothing as long as your key is held down
|
||||
- `h(a)` holds down "a" as long as the key is pressed, just like a
|
||||
@ -70,7 +70,7 @@ when the macro gets compiled.
|
||||
## Combinations spanning multiple devices
|
||||
|
||||
For regular combinations on only single devices it is not required to
|
||||
configure macros. See [readme/usage.md](usage.md).
|
||||
configure macros. See [readme/usage.md](usage.md#combinations).
|
||||
|
||||
**Keyboard** `space` `set(foo, bar).h(space).set(foo, 0)`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user