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

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

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.