openlogi-hook 0.6.26

OS-level mouse-event hook for OpenLogi. macOS via CGEventTap; Linux via evdev+uinput; Windows via WH_MOUSE_LL.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fn main() {
    let taps = openlogi_hook::Hook::list_event_taps();
    println!("{} tap(s)", taps.len());
    for t in &taps {
        println!(
            "tap#{:<11} {:?} {} enabled={} owner={:?}({}) target={:?}",
            t.tap_id,
            t.location,
            if t.active { "active" } else { "listen" },
            t.enabled,
            t.owner_name,
            t.owner_pid,
            t.target_pid,
        );
    }
}