package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Sep 23, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package intervention detects recent physical user input.
Config controls the user-intervention monitor.
Monitor records that physical input happened recently.
New returns a monitor. It does not install an event tap until Start is called.
Blocked reports whether actions should pause for recent physical input.
Close releases the event tap resources.
Record records a physical input event. It is exported for tests.
Start installs a listen-only event tap when the monitor is enabled.
Calling Start on an already started monitor has no effect.
Status returns the current monitor state.
Status reports the monitor state without exposing input payloads.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.