DEV Community

Dmitry Gordin
Dmitry Gordin

Posted on

1 1

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay