Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paring-chan/skyhook
Simple Global Hook. (Mirrored)
https://github.com/paring-chan/skyhook
Last synced: 2 days ago
JSON representation
Simple Global Hook. (Mirrored)
- Host: GitHub
- URL: https://github.com/paring-chan/skyhook
- Owner: paring-chan
- License: mit
- Created: 2022-11-12T12:04:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-08T03:57:17.000Z (12 months ago)
- Last Synced: 2024-12-31T07:45:56.876Z (3 days ago)
- Language: Rust
- Homepage: https://gitlab.paring.moe/skyhook/SkyHook
- Size: 20.3 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SkyHook
Very simple Keyboard & Mouse hook, meant for rhythm games.
## Troubleshooting
### Hook does not work on Linux
You should add `input` role for the user.
```sh
sudo usermod -aG input $USER
```and re-login.
## Credits
- Windows API from [winsafe](https://github.com/rodrigocfd/winsafe)
- Linux event reader from [StackOverFlow](https://stackoverflow.com/a/69745021)
- XInput handler from [x11-rs](https://github.com/AltF02/x11-rs/blob/master/x11/examples/xrecord.rs)