Disable Dualsence touchpad on Ubuntu

gordinmitya

Dmitry Gordin

Posted on May 27, 2024

Disable Dualsence touchpad on Ubuntu

Valve's efforts in making the Steam Deck (which runs a Debian-based distro) have enabled hassle-free gaming on Linux machines. I finished Witcher 3 with Sony's DualSense controller and am now playing Helldivers 2. Surprisingly, HD2 even supports haptic feedback and adaptive triggers. I didn't think I would be able to try these features without a PS5.

However, one little annoying thing was preventing me from fully enjoying the game and spreading managed democracy — the touchpad of the DualSense was interpreted as a mouse. Anytime I wanted to open the in-game map, it acted as a mouse and changed the control to the keyboard.

Solution

sudo nano /etc/X11/xorg.conf.d/30--dualsense-touchpad.conf

Section "InputClass"
    Identifier "Sony Interactive Entertainment Wireless Controller Touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Ignore" "true"
EndSection
Enter fullscreen mode Exit fullscreen mode

Then, log out from user or just reboot pc.
Now the DualSense acts exactly the same way as if it were attached to a PS5.

Credits archlinux forum

💖 💪 🙅 🚩
gordinmitya
Dmitry Gordin

Posted on May 27, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related