Axinus is a lightweight Linux utility that provides SOCD cleaning for the A and D keys.
In simpler terms, it's Razer's snap tap or Wooting's SOCD cleaning but supports every keyboard, is opensource and works on Linux.
It also supports both X11 and Wayland since it's independent of them and works at the kernel level.
Install the required packages:
Debian/Ubuntu:
sudo apt install build-essential pkg-config libevdev-devArch:
sudo pacman -Syu base-devel libevdevFedora/RHEL/CentOS:
sudo dnf install @development-tools pkgconf-pkg-config libevdev-develClone, cd and build:
git clone https://github.com/KernelDash/Axinus
cd Axinus
makeInstall to /usr/local/bin (optional):
sudo make installUninstall :(:
sudo make uninstallNote: Using SOCD cleaning tools is banned in some games, so make sure to first check the rules of the game you're playing.
Axinus takes 1 argument, the event number of your keyboard device. You can find this using tools such as evtest or the following command:
sed -En '/Name=/h;/kbd/{G;s/.*(event[0-9]+).*"(.*)"/\2: \1/p}' /proc/bus/input/devicesI use keyd (a key remapping daemon) so I will chose:
keyd virtual keyboard: event9And use the command:
sudo axinus 9There you go, now enjoy some snappy movement.
Note: You can add your user to the input group to be able to use it without sudo.
If you are holding A and then press D, A will get virtually released.
If you then release D, A will be reactivated if it's still being held.
This makes movement feel much more responsive.
It uses libevdev to listen for input and grab the device so that inputs don't get duplicated, then makes a uinput device using libevdev-uinput and forwards captured events to it with the SOCD logic applied to them.
- Add cleaning for
WandStoo.
This program is licensed under the MIT license. For more information check out the LICENSE file.
