Skip to content

Commit

Permalink
examples.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sezanzeb committed Jan 1, 2025
1 parent e5b7a71 commit c113845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ Examples for particular devices and/or use cases:

Mouse movements have to be performed by macros. See below.

## Quick Overview of Macros
## Short Macro Examples

- `key(BTN_LEFT)` a single mouse-click
- `key(1).key(2)` 1, 2
- `wheel(down, 10)` `wheel(up, 10)` Scroll while the input is pressed.
- `mouse(left, 1)` `mouse(right, 1)` `mouse(up, 1)` `mouse(down, 1)` Move the cursor while the input is pressed.
- `mouse(left, 5)` `mouse(right, 2)` `mouse(up, 1)` `mouse(down, 3)` Move the cursor while the input is pressed.
- `repeat(3, key(a).w(500))` a, a, a with 500ms pause
- `modify(Control_L, key(a).key(x))` CTRL + a, CTRL + x
- `key(1).hold(key(2)).key(3)` writes 1 2 2 ... 2 2 3 while the key is pressed
Expand Down

0 comments on commit c113845

Please sign in to comment.