| Crates.io | mac-keycode |
| lib.rs | mac-keycode |
| version | 0.0.2 |
| created_at | 2025-09-22 03:28:33.160838+00 |
| updated_at | 2025-09-22 04:09:14.131154+00 |
| description | Global hotkey manager |
| homepage | |
| repository | https://github.com/cortesi/hotki |
| max_upload_size | |
| id | 1849470 |
| size | 50,668 |
mac-keycode is a small, macOS-only library that exposes the system’s virtual keyboard keys and modifiers in a convenient, type-safe way. It provides a generated enum of all keys, a simple way to convert to and from human-friendly “spec” strings (including common aliases), and helpers for working with modifier keys. The key set is derived from the macOS SDK so values stay faithful to the platform.
See the crate documentation for full details and examples.