aboutsummaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/steam.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/programs/steam.nix b/modules/programs/steam.nix
index edfdc15..74ef844 100644
--- a/modules/programs/steam.nix
+++ b/modules/programs/steam.nix
@@ -13,7 +13,9 @@
};
# Ignore the DualSense touchpad in libinput to prevent it from acting as a mouse
services.udev.extraRules = ''
- ACTION=="add|change", KERNEL=="event[0-9]*", ATTRS{product}=="DualSense Wireless Controller", ENV{LIBINPUT_IGNORE_DEVICE}="1"
+ ACTION=="add|change", KERNEL=="event[0-9]*", ATTRS{name}=="DualSense Wireless Controller", ENV{LIBINPUT_IGNORE_DEVICE}="1"
+ ACTION=="add|change", KERNEL=="event[0-9]*", ATTRS{name}=="DualSense Wireless Controller Motion Sensors", ENV{LIBINPUT_IGNORE_DEVICE}="1"
+ ACTION=="add|change", KERNEL=="event[0-9]*", ATTRS{name}=="DualSense Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
'';
};
}