Skip to content

Commit 312db68

Browse files
authored
Update README.md
1 parent 5d9cc84 commit 312db68

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@ Here's a list of all my favorite Linux apps, tips, and tricks. My current distro
4848
SteamDeck=1 %command%
4949
```
5050

51-
- DualSense Controller Fix - If you use the Sony DualSense controller on Linux, the touchpad is overridden as a mouse trackpad. To fix this, add this file "/etc/X11/xorg.conf.d/30--dualsense.conf" with below text inside.
51+
- DualSense Controller Fix - 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. To find out what you're running use this command.
52+
53+
```
54+
echo $XDG_SESSION_TYPE
55+
```
56+
57+
If your Linux disrto uses **X11**, create this file and path with the text below inside "/etc/X11/xorg.conf.d/30--dualsense.conf":
5258
```
5359
Section "InputClass"
5460
Identifier "Sony Interactive Entertainment Wireless Controller Touchpad"
@@ -58,6 +64,19 @@ Here's a list of all my favorite Linux apps, tips, and tricks. My current distro
5864
EndSection
5965
```
6066

67+
If your Linux disrto uses **Wayland**, create this file and path with the text below inside "/etc/libinput/local-overrides.d/dualsense.conf":
68+
```
69+
[Device]
70+
Name=Sony Interactive Entertainment Wireless Controller Touchpad
71+
MatchIsTouchpad=yes
72+
Ignore=yes
73+
```
74+
75+
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+
```
77+
libinput list-devices
78+
```
79+
6180
### Terminal Tips
6281

6382
- Drag any file into a Terminal window to input its path.

0 commit comments

Comments
 (0)