72-yuzu-input.rules 835 B

1234567891011121314151617181920
  1. # SPDX-FileCopyrightText: 2023 yuzu Emulator Project
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. # Allow systemd-logind to manage user access to hidraw with this file
  4. # On most systems, this file should be installed to /etc/udev/rules.d/72-yuzu-input.rules
  5. # Consult your distro if this is not the case
  6. # Switch Pro Controller (USB/Bluetooth)
  7. KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
  8. KERNEL=="hidraw*", KERNELS=="*057e:2009*", MODE="0660", TAG+="uaccess"
  9. # Joy-Con L (Bluetooth)
  10. KERNEL=="hidraw*", KERNELS=="*057e:2006*", MODE="0660", TAG+="uaccess"
  11. # Joy-Con R (Bluetooth)
  12. KERNEL=="hidraw*", KERNELS=="*057e:2007*", MODE="0660", TAG+="uaccess"
  13. # Joy-Con Charging Grip (USB)
  14. KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="200e", MODE="0660", TAG+="uaccess"