Skip to content

Add Sony DualShock 3 Motion Sensors

Dolphin needs this udev rule to be able to use motion sensors. Sources:
https://forums.dolphin-emu.org/Thread-ds3-motion-coltrol-on-linux
https://askubuntu.com/questions/1088925/ubuntu-18-04-no-longer-adds-second-joystick-device-for-sony-dualshock3s-gyro-ac

These older threads matched KERNEL=="event*", though on my current system running Fedora Linux the Kernel mounts the device as "input*". To accommodate both behaviors, this rule matches both: KERNEL=="event|input"

Note that the DualShock 3 doesn't have a gyroscope, only accelerometers.

Author notes

I've been using this rule for more than 6 months, playing several games on many platforms, both native and wine/proton. I wanted to make sure this wouldn't impact controller detection on anything else, since I've seen some old reports online saying this used to be the case long ago, because the Kernel exposes motion sensors as an extra device. I didn't have any issues in that long, tested dozens of games, so I'm deeming this safe to merge and sending it now.

Merge request reports