mki 0.2.2

Windows and Linux library for registring global input hooks and simulating keyboard and mouse events.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This is just a minimal example for the mki binary.
# Usage would be: cargo run --bin mki examples/config.yaml
---
bind:
  - description: Whenever F9 is clicked Press(hold) H
    key:
      - F9
    action:
      press:
        key:
          - H
  - description: Whenever Mouse::Extra is clicked Print all pressed keys to console
    button:
      - Extra
    action:
      print-pressed-state