package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Apr 25, 2026
License: MIT
Opens a new window with license information.
Imports: 7
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.
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.