https://github.com/lucki/g11gkeys
Handle Logitech G11 G-keys
https://github.com/lucki/g11gkeys
g-key g11 logitech logitech-gaming logitech-gaming-keyboard logitech-keyboards
Last synced: 4 months ago
JSON representation
Handle Logitech G11 G-keys
- Host: GitHub
- URL: https://github.com/lucki/g11gkeys
- Owner: Lucki
- Created: 2021-08-14T12:37:11.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-20T23:27:57.000Z (over 1 year ago)
- Last Synced: 2025-04-11T07:04:01.799Z (about 1 year ago)
- Topics: g-key, g11, logitech, logitech-gaming, logitech-gaming-keyboard, logitech-keyboards
- Language: Rust
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# G11GKeys
Listens for G-Keys on several the Logitech keyboards and calls scripts based on the pressed key and selected macro set.
Allows to use up to 15 different sets.
Supported models:
* G11
* G15 v2 (refresh)
This calls [`macro-manager`](https://github.com/Lucki/macro-manager) in the background so look there on how to do your configuration:
* The set names are `m1`, `m2`, `m3`, `mr`.
* Multiple simultaneous pressed macro keys are concatenated left to right - resulting in e.g. `m1mr`.
This means, there are now 15 usable macro banks per application.
* The id names are `g1` … `g18`.
This is intended to run in a user environment - e.g. `systemctl --user start g11gkeys@g11v1.service`
## Installation
Make requires `rust`, [`xdototool`](https://github.com/jordansissel/xdotool) and `clang`.
It also expects [`macro-manager`](https://github.com/Lucki/macro-manager) in a folder besides this project for now. (`{ path = "../macro-manager" }`)
Build with `make build` or directly with `cargo build --release`.
The executable is in `target/release/g11gkeys`.
Runtime dependencies are `clang`.
Optional is [`xdototool`](https://github.com/jordansissel/xdotool).
Install with `make install`.
Adjust `PREFIX` and `DESTDIR` as needed.