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

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay