Skip to content

Computer use for the Pi coding agent — Windows apps, browsers and desktops through native UI trees, screenshots and real input.

Docs: native multi-clicks (LPT-948)

alexshpunt-clanker[bot]0e6a5af88b9b
diff --git a/README.md b/README.md
index 5e18356..677b668 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@ From there the agent can:
Input goes to a window by its address and targets an element by a ref from the latest read, a Playwright locator, or a point. It can:
- type literal text, press keys and chords, and hold several keys at once;
-- click, double-click, right-click, hover and scroll by wheel detents;
+- click, double and triple click with any button, right-click, hover and scroll by wheel detents;
- drag in straight lines or draw continuous brush strokes through many points;
- run a timeline of timed key, button, mouse and pen events, with raw relative mouse motion for pointer-locked apps and pen pressure and tilt;
- invoke, select or set values through UI Automation, and open menu items by their labels.
diff --git a/docs/complete-input.md b/docs/complete-input.md
index 577e340..92a210c 100644
--- a/docs/complete-input.md
+++ b/docs/complete-input.md
@@ -13,7 +13,7 @@ CUA draws an agent cursor over the desktop and, by default, waits for it to glid
- `type_text`: literal text up to 2000 characters; `delay_ms` is CUA's per-character delay, 0..200, default 30.
- `invoke`, `select`, `set_value`: [strict UIA intents](semantic-actions.md) on a current hint/token. No physical or foreground fallback; `set_value` takes replacement `text`.
- `select_all`: complete Ctrl+A.
-- `click`, `right_click`, `double_click`: observed token or window-image x/y. Optional modifiers; click also accepts a left/right/middle button.
+- `click`, `right_click`, `double_click`: observed token or window-image x/y. Optional modifiers; click also accepts a left/right/middle button and a `count` of 1 to 3, so a triple click or a right or middle double click is one click action at the system double-click timing.
- `scroll`: observed element token, direction up/down/left/right, amount 1..50, by line/page; or a window-image x/y with signed `delta_x`/`delta_y` in wheel detents (`unit:"wheel_detents"`).
- `drag`: from_x/from_y/to_x/to_y in the window PNG. Optional duration_ms 0..10000 (default 500), steps 1..200 (default 20), left/right/middle button and modifiers.