Skip to content

v0.47.12 — trackpad map controls

Choose a tag to compare

@TaewoooPark TaewoooPark released this 24 Jun 11:10

Trackpad support for the session map

Without a mouse the map was hard to drive — a trackpad has no middle button to pan with, and two-finger scroll only zoomed. The map now routes by gesture so each device feels native:

Input Pan Zoom
Trackpad two-finger swipe pinch
Mouse middle-button drag wheel (cursor-anchored)

Detection: a trackpad emits horizontal and/or fractional sub-pixel wheel deltas a notched mouse never does. That verdict latches, so the integer momentum tail of a fling keeps panning instead of flipping to zoom; a mouse never latches, so its wheel keeps zooming.

Note: trackpad-vs-mouse detection has no standard browser API and is OS/driver-dependent. These gestures are verified on macOS; Windows precision-touchpad behavior is being tested separately. Universal fallbacks (Ctrl/⌘+wheel and the /%/+ buttons to zoom) work on every platform.

README (EN + KO) documents the controls.

Run it: npx @taewooopark/agent-blackbox@0.47.12 up