Files
yuzu/dist/72-yuzu-input.rules
HurricanePootis 8ded5be001 Update dist/72-yuzu-input.rules
shoutout to @liamwhite

Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2023-12-06 08:43:44 -06:00

14 lines
889 B
Plaintext

# Allow systemd-login to manage user access to hidraw with this file
# On most systems, this file should be installed to /etc/udev/rules.d/72-yuzu-input.rules
# Consult your distro if this is not the case
#Nintendo's Switch Pro Controller and Pro Controller for Wired and Bluetooth
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
KERNEL=="hidraw*", KERNELS=="*057e:2009*", MODE="0660", TAG+="uaccess"
#Nintendo's Left Joy-Con for Wired and Bluetooth
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2006", MODE="0600", TAG+="uaccess"
KERNEL=="hidraw*", KERNELS=="*057e:2006*", MODE="0600", TAG+="uaccess"
#Nintendo's Right Joy-Con for Wired and Bluetooth
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2007", MODE="0600", TAG+="uaccess"
KERNEL=="hidraw*", KERNELS=="*057e:2007*", MODE="0600", TAG+="uaccess"