Expand description
Global hotkey support — shared key-name utilities and platform-specific backends.
Key name lists and formatting live here. The actual hotkey listener
(GlobalHotkey) is platform-specific:
- macOS:
hotkey_macos.rs(rdev / CGEventTap) - Linux:
hotkey_linux.rs(evdev / /dev/input)
Structs§
- Global
Hotkey - Global hotkey monitor using evdev (Linux kernel input).
Functions§
- format_
key_ name - Formats a key name for display (e.g., “right_option” → “Right Option”).
- list_
key_ names - Returns a sorted list of all supported key names.