libratbag
From Gentoo Wiki
libratbag provides ratbagd, a DBus daemon to configure input devices, mainly gaming mice. The daemon provides a generic way to access the various features exposed by these mice and abstracts away hardware-specific and kernel-specific quirks.
Installation
USE flags
USE flags for dev-libs/libratbag Library to configure gaming mice
doc
|
Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally |
elogind
|
Enable session tracking via sys-auth/elogind |
systemd
|
Enable use of systemd-specific libraries and features like socket activation or session tracking |
test
|
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) |
Emerge
root #
emerge --ask dev-libs/libratbag
Service
systemd
To start ratbagd on boot:
root #
systemctl enable --now ratbagd