Sidewinderd: https://github.com/tolga9009/sidewinderd
Download:
sudo apt install libconfig++-dev libtinyxml2-dev libudev-dev
git clone https://github.com/tolga9009/sidewinderd.git
Build:
mkdir build
cd build
cmake ..
make
sudo make install
Config /etc/sidewinderd.conf
:
user = "cornernote";
capture_delays = false;
Start:
sudo systemctl enable sidewinderd.service
sudo systemctl start sidewinderd.service
The macro keys are fully programmable, but there is no default event. You can add functions to them, by recording macros or key combinations:
- Choose a profile. The profile LED on the device will show you, which profile is active.
- Press record key. The record LED will light up.
- Now, choose and press a macro key. On some devices, the record LED will begin to blink. You're now in macro mode. Please note, that existing macros may get overwritten.
- Everything you type on the keyboard will get recorded. You can either record a single key combination or a long series of keypresses. Please note, that keypresses still send events to your operating system and your programs.
- When done, press the record key again. This will stop recording and save the macro.
- You've now created a macro. Use it by setting the chosen profile and pressing the chosen macro key.
The XML files can be edited by hand, for example if you wish to change or remove the recorded delays.
sudo nano /root/.local/share/sidewinderd/profile_1/s1.xml (button M1/G1)
Hello,
I have a french G105 keyboard. It has a FN key on the right of the AltGr key, next to the space bar. The red buttons respond under the FN key pression, I have no clue haw to invert the default behaviour (direct access to red keys & indirect access to function keys).
It also has a contextual menu key which does not work with the current configuration.
This is the actual disposition of the lower key lane of my keyboard, from left to right :
Ctrl - Windows Key - Alt - Space Bar - AltGr - FN - Context Menu Key - Ctrl