hookmap 0.5.1

Registers hotkeys and simulates keyboard and mouse input.
Documentation
1
2
3
4
5
6
7
8
9
use hookmap::prelude::*;
use hookmap::utils;

// Emulate Alt-tab with a-t
fn main() {
    let mut hotkey = Hotkey::new();
    utils::alt_tab(&mut hotkey, &Context::new(), Button::A, Button::T);
    hotkey.install();
}