-
Notifications
You must be signed in to change notification settings - Fork 31
Home
Because I didn't find any GKey support for Logitech G910 keyboard I decided to create this GKey mapper. Code is based on an issue in g910-gkey-uinput project. I expanded the code, so that it is more user friendly to add functionality to GKeys.
The code is tested on Logitech G910 keyboard, OS: Manjaro, 4.19.1 Linux kernel, DE: kde plasma 5.14.3.
With this daemon you can effectively use your GKeys. You can bind shortcuts to it (ex. ctrl+c), you can typeout stuff and you can also run applications (to some extent; more on that here: Why can't I run graphic programs by default. And for all of that you don't even have to run a XServer, this can be all done from native cli.
The most basic installation (assuming you already have g810-led controller) is as follows:
- clone the repo:
git clone https://github.com/JSubelj/g910-gkey-macro-support.git
- run the installer:
chmod +x installer.sh; sudo ./installer.sh
- disable Gkeys to Fkeys mapping:
g910-led -gkm 1
- start the daemon:
systemctl start g910-gkeys
- and you are good to go! Press G1 button (with cursor on a writable area) and it should write out
Its WORKING!!!%%
- if it doesn't, don't despair and look into more detailed instructions here