tangled
alpha
login
or
join now
pluie.me
/
flake
2
fork
atom
All my system configs and packages in one repo
2
fork
atom
overview
issues
pulls
pipelines
systems: various fixes wrt my DualSense controller
pluie.me
1 month ago
069d8c0a
7e26bf05
verified
This commit was signed with the committer's
known signature
.
pluie.me
SSH Key Fingerprint:
SHA256:YtI1D7vlcZ4obaiJ4tQihtswcMhHKdfYZuc4whOX2y8=
+14
1 changed file
expand all
collapse all
unified
split
systems
common.nix
+14
systems/common.nix
···
71
71
algorithm = "zstd";
72
72
};
73
73
74
74
+
# Disable DualSense/DualShock 4 touchpad acting as mouse
75
75
+
# See https://wiki.archlinux.org/title/Gamepad#Disable_touchpad_acting_as_mouse
76
76
+
services.udev.extraRules = ''
77
77
+
# USB
78
78
+
ATTRS{name}=="Sony Interactive Entertainment Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
79
79
+
# Bluetooth
80
80
+
ATTRS{name}=="Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
81
81
+
'';
82
82
+
83
83
+
# Fix the pairing process with a DualSense controller
84
84
+
hardware.bluetooth.settings = {
85
85
+
General.UserspaceHID = false;
86
86
+
};
87
87
+
74
88
system.configurationRevision = inputs.self.rev or inputs.self.dirtyRev or "unknown-dirty";
75
89
}