Batocera 36: Dualshock 4 & Dualsense controllers fix for Steam

28 Aufrufe
Published
Is Steam not detecting your Dualshock 4 under Batocera 36? Is your controller's touchpad always acting as a mouse, preventing you from using it for other bindings?

This video explains how to get your Dualshock 4 controller working with Steam and prevent the Dualshock 4 and Dualsense (PS5) touchpads from always acting as a mouse. This can help improve the Steam experience under Batocera Linux.

00:00 Intro
00:23 Issue 1: Steam doesn't see Dualshock 4
02:01 Issue 2: Touchpad always acts like mouse
04:15 Revert by deleting Batocera's overlay

How to access your Batocera machine remotely over SSH:
https://wiki.batocera.org/access_the_batocera_via_ssh

Default credentials:
User: root
Pass: linux

--------------------------------------------------------------
Dualshock 4 permissions config
--------------------------------------------------------------

# /etc/udev/rules.d/99-steam-controller-perms.rules

# This rule is needed for basic functionality of the controller
# in Steam and keyboard/mouse emulation
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"

# This rule is necessary for gamepad emulation
KERNEL=="uinput", MODE="0660", GROUP="batocera", OPTIONS+="static_node=uinput"

# Valve HID devices over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"

# Valve HID devices over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"

# DualShock 4 over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"

# DualShock 4 wireless adapter over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"

# DualShock 4 Slim over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"

# DualShock 4 over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"

# DualShock 4 Slim over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"

--------------------------------------------------------------
Touchpad config
--------------------------------------------------------------

# /etc/X11/xorg.conf.d/30-dualshock-dualsense-touchpad.conf

Section "InputClass"
Identifier "Dualshock and Dualsense Touchpad"
MatchProduct "Controller Touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Ignore" "true"
EndSection

--------------------------------------------------------------

BG Music: "Spirit" by Sappheiros
https://www.youtube.com/watch?v=RVLcTEmxsKM
Kategorien
Steam
Kommentare deaktiviert.