Saltar al contenido

Mouse Commands

Move the cursor, click, drag, scroll, and run automated mouse patterns — the full relative mouse command set

3 min de lecturaEsta guía solo está disponible en inglés.
En esta página

Mouse commands move the cursor and click relative to its current position. They are sent over USB‑HID only.

Buttons

Every clicking command takes a button name. Supported buttons: left, right, middle, backward, forward. An unknown (or omitted) button falls back to left.

Moving the cursor

Moves the cursor by x/y relative to its current position, in one HID report. Values are 16‑bit (-32767–32767).

mouseMove 50 -30

Clicking

Clicks a button. Add hold to press and keep it down, or release to let it up.

mouseClick left
mouseClick right hold
mouseClick right release

Scrolling

Scrolls the wheel by amount (8‑bit, -127–127). Positive scrolls up, negative scrolls down.

mouseScroll 5
mouseScroll -3

Movement patterns and jitter

Random micro‑movements for durationMs, moving every posDelay ms, optionally clicking each step. All four arguments are required.

mouseJitter 5000 100 true left

Arguments: <durationMs> <posDelay> <click(true|false)> <button>.

Cargando el índice…

↑↓navegar↵abriresccerrar