//! Cross-platform hotkey support
//!
//! - Linux: Uses rdev for keyboard grab (supports X11 and Wayland)
//! - Windows/macOS: Uses global-hotkey crate (Tauri-maintained)
use Result;
use Receiver;
use linux as platform;
use non_linux as platform;
/// Opaque guard that keeps the hotkey listener alive
;
/// Setup the hotkey listener.
/// Returns a receiver for hotkey events and a guard that must be kept alive.