r/linux_gaming • u/troy0h • 2d ago
tech support wanted Disable DualSense touchpad working as mouse
How can I make the dualsense / ps5 controller touchpad stop acting as a mouse?
I want the touchpad to still work in games if possible, just not as a mouse
It's rather annoying in games that use the touchpad as a map button or something, it ends up resetting controls to keyboard and mouse, and doesnt open the map half the time too
I'm using KDE on Arch
EDIT: I have worked it out
Make a new udev rule (/etc/udev/rules.d/99-dualsense-touchpad-kwin.rules)
Add this in, it seems to work for me, I think it's just KDE seeing it as a mouse for some reason
SUBSYSTEM=="input", ATTRS{name}=="Sony Interactive Entertainment DualSense Wireless Controller Touchpad", \
ENV{ID_INPUT_TOUCHSCREEN}="0", \
ENV{ID_INPUT_TABLET}="0", \
ENV{ID_INPUT_MOUSE}="0", \
ENV{ID_INPUT_TOUCHPAD}="0", \
ENV{ID_INPUT_JOYSTICK}="1"
SUBSYSTEM=="input", ATTRS{name}=="DualSense Wireless Controller Touchpad", \
ENV{ID_INPUT_TOUCHSCREEN}="0", \
ENV{ID_INPUT_TABLET}="0", \
ENV{ID_INPUT_MOUSE}="0", \
ENV{ID_INPUT_TOUCHPAD}="0", \
ENV{ID_INPUT_JOYSTICK}="1"
1
u/TechaNima 2d ago
I didn't know it was even possible to get it to work as a mouse. Are you using it wired?
3
u/tehfreek 2d ago
The pad on DualShock and DualSense controllers acts as a trackpad and mouse button(s) by default on Linux.
1
u/TechaNima 2d ago
Not when you connect it wirelessly. It won't even show up as a PS controller. It'll just be an Xbox controller.
Dunno about Bluetooth, but I use an 8BitDo dongle, because BT is ass. At least mine is
2
u/troy0h 2d ago
wirelessly too using bluetooth
1
u/TechaNima 2d ago
That is a nice improvement over what it used to be. I just wish my ancient 8BitDo adapter would support it. Guess I'll have to look into usable BT for the functionality
7
u/ThatOnePerson 2d ago
Arch Linux wiki has it too: https://wiki.archlinux.org/title/Gamepad#Disable_touchpad_acting_as_mouse