Skip to main content

Gestures

A gesture is a shape you draw with a mouse button held down. Input.Observer compares the shape with the gestures you saved and, when one matches, runs the action bound to it for the window you drew over.

Three things work together:

PartWhat it isWhere you set it up
DrawingWhich buttons draw, when a press becomes a gesture, and what happens to the original clickDrawing a gesture
The gesture libraryThe shapes themselves, each with one or more saved examplesThe gesture library
MatchingHow a drawn stroke is scored against the shapes, and how strict that isHow a stroke is matched

A shape on its own does nothing. An action uses it through a gesture trigger, and the action belongs to an app group, so the same shape can do different things in different programs. Which action runs for a stroke is decided by the rules in Where actions apply.

  • Drawing a gesture — Which buttons draw, how a capture starts and ends, and what happens to the original click.
  • The gesture library — The Gestures page: adding, training, renaming and deleting gestures.
  • How a stroke is matched — How a drawn stroke is scored against your gestures, the match threshold, and what no match does.