From c113845a252969bb6f777e1e029cc2f473283f37 Mon Sep 17 00:00:00 2001 From: sezanzeb <28510156+sezanzeb@users.noreply.github.com> Date: Wed, 1 Jan 2025 22:35:38 +0100 Subject: [PATCH] examples.md --- readme/examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme/examples.md b/readme/examples.md index 1c28e962..3edea374 100644 --- a/readme/examples.md +++ b/readme/examples.md @@ -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