Skip to content

Commit

Permalink
update examples.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sezanzeb committed Feb 25, 2025
1 parent 5c7b9eb commit 72d586a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readme/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ if_tap(
For regular combinations on only single devices it is not required to
configure macros. See [readme/usage.md](usage.md#combinations).

You can also disable the "Map devices individually" toggle and create one preset for
all of your devices, which allows you to record input from all of your devices at once.

However, if you don't want that, you can use variables:

**Keyboard** `space` `set(foo, 1).hold_keys(space).set(foo, 0)`

**Mouse** `middle` `if_eq($foo, 1, hold_keys(a), hold_keys(BTN_MIDDLE))`
Expand Down

0 comments on commit 72d586a

Please sign in to comment.