99-steam-controller-perms.rules 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Should be placed in /etc/udev/rules.d/
  2. # This rule is needed for basic functionality of the controller in Steam and keyboard/mouse emulation
  3. SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
  4. # This rule is necessary for gamepad emulation
  5. KERNEL=="uinput", MODE="0660", GROUP="jovian", OPTIONS+="static_node=uinput"
  6. # Valve HID devices over USB hidraw
  7. KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"
  8. # Valve HID devices over bluetooth hidraw
  9. KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"
  10. # DualShock 4 over USB hidraw
  11. KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"
  12. # DualShock 4 wireless adapter over USB hidraw
  13. KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"
  14. # DualShock 4 Slim over USB hidraw
  15. KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"
  16. # DualShock 4 over bluetooth hidraw
  17. KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"
  18. # DualShock 4 Slim over bluetooth hidraw
  19. KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"
  20. # Nintendo Switch Pro Controller over USB hidraw
  21. KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0666"
  22. # Nintendo Switch Pro Controller over bluetooth hidraw
  23. KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0666"