summaryrefslogtreecommitdiffstats
path: root/configs/input
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 01:14:53 +0000
committertv <tv@krebsco.de>2026-11-29 01:43:34 +0000
commit6b21d2e8869a2bf07bbe52763e210bcf5bba5be0 (patch)
tree6595239427d23041b926f5280de22eadf3d8120c /configs/input
parente6e22b3b918e6b4f212ac0c35dbaa9da880f7f95 (diff)
ru: keep the MX Anywhere 3's wheel at whole detents
hid-logitech-hidpp switches the wheel to high resolution whenever the mouse connects, so after each resume, and then it scrolls at the touch of a finger. logid switches it back each time.
Diffstat (limited to 'configs/input')
-rw-r--r--configs/input/mx-anywhere-3.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/configs/input/mx-anywhere-3.nix b/configs/input/mx-anywhere-3.nix
new file mode 100644
index 00000000..f8f8cdf7
--- /dev/null
+++ b/configs/input/mx-anywhere-3.nix
@@ -0,0 +1,18 @@
+{
+ # The kernel turns the wheel's high resolution on at every connect.
+ services.logiops = {
+ enable = true;
+ config.devices = [
+ {
+ name = "MX Anywhere 3";
+ hiresscroll = {
+ hires = false;
+ invert = false;
+ target = false;
+ };
+ }
+ ];
+ };
+ # logid needs no display.
+ systemd.services.logid.wantedBy = [ "multi-user.target" ];
+}