Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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)