From 766e78fe145effaa51ad49c29bd28deeeafaa226 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Thu, 2 Jul 2026 13:03:53 +0200 Subject: fix(steam): ignore DualSense touchpad --- modules/programs/steam.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/programs/steam.nix') diff --git a/modules/programs/steam.nix b/modules/programs/steam.nix index 311a5b3..edfdc15 100644 --- a/modules/programs/steam.nix +++ b/modules/programs/steam.nix @@ -11,5 +11,9 @@ gamescopeSession.enable = true; extraCompatPackages = [ pkgs.proton-ge-bin ]; }; + # 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" + ''; }; } -- cgit v1.3.1