Sidewinderd

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

Software
sidewinderd needs to be built manually since no ebuild is available in the Portage tree.

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:

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 i.e.

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.

Removal
To uninstall sidewinderd, delete the following files:

Troubleshooting
The following error message 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.