Skip to content

Commit 8dd7f4a

Browse files
authored
Update README.md
1 parent 1859e08 commit 8dd7f4a

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,35 +50,35 @@ Here's a list of all my favorite Linux apps, tips, and tricks. My current distro
5050
SteamDeck=1 %command%
5151
```
5252

53-
### DualSense Controller Fix
54-
If you use the Sony DualSense controller on Linux, the touchpad is seen as a mouse trackpad, which can cause games to break. To fix this, add one of the files below depending on what display server you run, then **reboot** for changes to take effect. To find out what display server you're running, use this command.
53+
### Sony DualSense Controller Fix
54+
If you use the Sony DualSense controller on Linux, the touchpad is seen as a mouse trackpad, which can cause games to break. To fix this, follow these steps.
5555

56+
- Using Terminal. Create and open a file with this command.
5657
```
57-
echo $XDG_SESSION_TYPE
58+
sudo nano /etc/udev/rules.d/72-dualsense-fix.rules
5859
```
59-
60-
If your Linux distro uses **X11**, create this file and path with the text below inside "/etc/X11/xorg.conf.d/30--dualsense.conf":
61-
```
62-
Section "InputClass"
63-
Identifier "Sony Interactive Entertainment Wireless Controller Touchpad"
64-
Driver "libinput"
65-
MatchIsTouchpad "on"
66-
Option "Ignore" "true"
67-
EndSection
60+
- Paste this text into the file
6861
```
69-
70-
If your Linux distro uses **Wayland**, create this file and path with the text below inside "/etc/libinput/local-overrides.quirks":
62+
# Disable PlayStation Controller Touchpad
63+
# USB
64+
ATTRS{name}=="Sony Interactive Entertainment Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
65+
# Bluetooth
66+
ATTRS{name}=="Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
67+
# DualSense USB
68+
ATTRS{name}=="Sony Interactive Entertainment DualSense Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
69+
# DualSense Bluetooth
70+
ATTRS{name}=="DualSense Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
71+
# Edge USB
72+
ATTRS{name}=="Sony Interactive Entertainment DualSense Edge Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
73+
# Edge Bluetooth
74+
ATTRS{name}=="DualSense Edge Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
7175
```
72-
[DualSense Disable Touchpad]
73-
Name=Sony Interactive Entertainment Wireless Controller Touchpad
74-
MatchIsTouchpad=yes
75-
Ignore=yes
76-
```
77-
78-
If it's not working, look up the name of your device by entering the below command and looking for your device in the list. Then update the name in the file you created above.
76+
- Once pasted, push the key combo "Ctrl+X", then press "Y" key, and then press "ENTER" key.
77+
- Now run the following command or just reboot your pc.
7978
```
80-
libinput list-devices
79+
udevadm control --reload && udevadm trigger
8180
```
81+
If it worked, you shouldn't be able to move the mouse with the DualSense trackpad.
8282

8383
### Terminal Tips
8484

0 commit comments

Comments
 (0)