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 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
Make requires rust, xdototool and clang.
It also expects 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.
Install with make install.
Adjust PREFIX and DESTDIR as needed.