From 6b21d2e8869a2bf07bbe52763e210bcf5bba5be0 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 01:14:53 +0000 Subject: 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. --- configs/input/mx-anywhere-3.nix | 18 ++++++++++++++++++ systems/ru/config.nix | 1 + 2 files changed, 19 insertions(+) create mode 100644 configs/input/mx-anywhere-3.nix 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" ]; +} diff --git a/systems/ru/config.nix b/systems/ru/config.nix index 5381303d..41447bba 100644 --- a/systems/ru/config.nix +++ b/systems/ru/config.nix @@ -2,6 +2,7 @@ imports = [ ../../configs/hw/winmax2.nix ../../configs/btrfs-scrub.nix + ../../configs/input/mx-anywhere-3.nix ../../configs/networkd.nix ../../configs/retiolum.nix ../../configs/wiregrill.nix -- cgit v1.3.1