From 7bf1b25831e88e607b3a1ed8012775228c0a0a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 3 Jan 2026 19:12:38 -0300 Subject: [PATCH] Revert "mouse: remove quirks for Logitech G502 X PLUS" This reverts commit a0cea5009912de7b605e76d344164e81ffdd8c2b. --- system/mouse.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/system/mouse.nix b/system/mouse.nix index c09ccdd..b5d5b16 100644 --- a/system/mouse.nix +++ b/system/mouse.nix @@ -1,4 +1,15 @@ { # Allow configuring Logitech Peripherals services.ratbagd.enable = true; + + # Sway does not undersand high resolution scroll wheels + # I don't need this, so I disable it + environment.etc."libinput/local-overrides.quirks".text = '' + [Logitech G502 X PLUS] + MatchUdevType=mouse + MatchBus=usb + MatchVendor=0x046D + MatchProduct=0x4099 + AttrEventCode=-REL_WHEEL_HI_RES + ''; }