diff options
| author | tv <tv@krebsco.de> | 2026-11-29 01:14:53 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 01:43:34 +0000 |
| commit | 6b21d2e8869a2bf07bbe52763e210bcf5bba5be0 (patch) | |
| tree | 6595239427d23041b926f5280de22eadf3d8120c /configs/input/mx-anywhere-3.nix | |
| parent | e6e22b3b918e6b4f212ac0c35dbaa9da880f7f95 (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/mx-anywhere-3.nix')
| -rw-r--r-- | configs/input/mx-anywhere-3.nix | 18 |
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" ]; +} |
