The way this macro works is as following:
- When a mouse movement is detected on the chosen device(s)
and lock condition (if any) is satisfied,
that movement is undone and the system cursor is locked in place.
- While the cursor is locked, movements from chosen device(s) translate into chosen custom logic.
- The cursor is unlocked when enough time has passed without movement from the chosen device(s) or when an unlock condition is satisfied.