Crates.io | umiko |
lib.rs | umiko |
version | 0.1.4 |
source | src |
created_at | 2021-04-24 23:21:44.321995 |
updated_at | 2021-04-25 18:23:34.966071 |
description | Simples gerenciador de webhooks usando a winapi |
homepage | https://github.com/Takasakiii/umiko |
repository | https://github.com/Takasakiii/umiko.git |
max_upload_size | |
id | 389103 |
size | 15,276 |
Permite usar a WinApi para criar facilmente hotkeys globais.
use umiko::{hotkeys::{HotKeys, KeyModifiers}, common::Keys};
let mut hotkeys = HotKeys::new();
hotkeys.add(KeyModifiers::MOD_CONTROL | KeyModifiers::MOD_ALT, Keys::H, |_| {
println!("Control + alt + h acionado!");
});
hotkeys.handle();