kbd
Pure-logic hotkey engine — key types, modifier tracking, binding matching, layer stacks, sequence resolution. No platform dependencies.
[]
= "0.1"
use Action;
use ;
use ;
use KeyTransition;
let mut dispatcher = new;
let hotkey: Hotkey = "Ctrl+Shift+A".parse.unwrap;
dispatcher.register.unwrap;
let result = dispatcher.process;
assert!;
Supports layers, introspection, and optional serde. See the API docs for the full picture.
License
kbd is licensed under the MIT license. See the LICENSE file for more information.