Expand description
macOS global Option double-tap monitor (§6.1).
The macOS implementation spawns a dedicated thread with its own
NSRunLoop and registers a passive NSEvent global monitor for
.flagsChanged events. The Option key keeps working normally in every
other app; we only observe.
On non-macOS targets, CaptureMonitor::start returns
CaptureError::Os so dependent crates compile everywhere.
Structs§
- Capture
Monitor - A handle to the running global monitor. Dropping it stops monitoring.
Enums§
- Capture
Error - Errors from starting the monitor.