Skip to main content

Crate oximemo_capture

Crate oximemo_capture 

Source
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§

CaptureMonitor
A handle to the running global monitor. Dropping it stops monitoring.

Enums§

CaptureError
Errors from starting the monitor.