#windows #winapi

umiko

Simples gerenciador de webhooks usando a winapi

5 releases

0.1.4 Apr 25, 2021
0.1.3 Apr 25, 2021
0.1.2 Apr 25, 2021
0.1.1 Apr 24, 2021
0.1.0 Apr 24, 2021

#215 in #winapi

MIT license

13KB
200 lines

Umiko

Permite usar a WinApi para criar facilmente hotkeys globais.

Documentação

Crates.io Docs Licença MIT

Exemplo de uso:

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();

Dependencies

~79–280KB