mac-keycode

Crates.iomac-keycode
lib.rsmac-keycode
version0.0.2
created_at2025-09-22 03:28:33.160838+00
updated_at2025-09-22 04:09:14.131154+00
descriptionGlobal hotkey manager
homepage
repositoryhttps://github.com/cortesi/hotki
max_upload_size
id1849470
size50,668
Aldo Cortesi (cortesi)

documentation

README

mac-keycode

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.

Commit count: 361

cargo fmt