simkey 1.0.0

Minimal Windows global-hotkey library
docs.rs failed to build simkey-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

simkey

Minimal Windows global-hotkey library <Inspired by rdev>

Usage

use simkey::HotkeyManager;

let manager = HotkeyManager::new();
manager.register("ctrl+shift+s", Box::new(|| {
    // ...
})).expect("invalid hotkey");
manager.run().expect("hook failed");