Sidewinderd

sidewinderd is a user space daemon that enables special keys and macro recording for various Logitech and Microsoft gaming peripherals.

Overlay
An ebuild is available in the fowlay overlay. For general info on overlays read here. To add the overlay do

or

and to emerge sidewinderd do

Manual
Install the required dependencies:

Clone the sidewinderd Git repository:

Build and install sidewinderd:

Configuration
Specify the username to run sidewinderd as:

To record macros without delays set capture_delays to :

OpenRC
Create the following service file if sidewinderd was installed manually.

Make the service file executable:

Start sidewinderd:

Start sidewinderd at boot:

systemd
Start sidewinderd:

Start sidewinderd at boot:

Logitech G105
If sidewinderd started successfully, the, , , and  through  keys should now be usable. Three sets of macro profiles can be switched between using the, and  keys. Recorded macros are stored in their respective profile directories e.g.

To record a macro for the key in the  profile, press, , , the desired key sequence, and  again. To playback the recorded macro, press the key.

Manual
Delete the following files:

Troubleshooting
The following error message from manually installed sidewinderd has been observed after a world update of Gentoo on 2017-11-26:

sidewinderd: error while loading shared libraries: libconfig++.so.9: cannot open shared object file: No such file or directory

It is probably due to the update of from 1.5 to 1.7.1. To fix the issue, re-sync the sidewinderd git repository, then build and install sidewinderd again.