Make sure all udev rules are correct.
Add all the rules from here
https://codeberg.org/fabiscafe/game-devices-udev
Copy the rules to:
/etc/udev/rules.d/
Then reload udev rules:
sudo udevadm control --reload-rules && udevadm trigger
You may also have to add more rules manually:
# Valve HID devices over bluetooth hidraw
echo -e 'KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"' >> /etc/udev/rules.d/99-steam-controller-perms.rules
# Dualshock 4 over bluetooth hidraw
echo -e 'KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"' >> /etc/udev/rules.d/99-steam-controller-perms.rules
# Dualshock 4 Slim over bluetooth hidraw
echo -e 'KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"' >> /etc/udev/rules.d/99-steam-controller-perms.rules
Apply the changes:
udevadm trigger
And pray everything works:
sudo udevadm control --reload-rules && sudo udevadm trigger sudo /etc/init.d/udev restart
Ensure your user is in the input group:
gpasswd -a USER input
Install the necessary Gentoo package:
sudo emerge game-device-udev-rules
You may also need to run Steam with --no-sandbox and install Proton GE:
./Steam.AppImage --no-sandbox