Skip to main content

Module mouse

Module mouse 

Source
Expand description

Smart mouse movement with human-like bezier curves and position tracking.

This module provides realistic mouse movement simulation using cubic bezier curves, configurable jitter, overshoot, and easing. The SmartMouse struct tracks the current mouse position across operations so that every movement starts from where the cursor actually is.

Structs§

MovementStep
A single step in a mouse movement path.
SmartMouse
Tracks the current mouse position and generates human-like movement paths.
SmartMouseConfig
Configuration for smart mouse movement behavior.

Functions§

generate_path
Generate a human-like mouse movement path from from to to.