diff options
| author | 2023-12-07 22:12:56 -0600 | |
|---|---|---|
| committer | 2023-12-07 23:12:56 -0500 | |
| commit | e92b10f971733d89ce4b0a9ffc782c13114e1eee (patch) | |
| tree | 1bd231e1b40a564ca4c630a0f6492c63d3dd9197 /dist/72-yuzu-input.rules | |
| parent | Merge pull request #12236 from liamwhite/cpu-refactor (diff) | |
| download | yuzu-e92b10f971733d89ce4b0a9ffc782c13114e1eee.tar.gz yuzu-e92b10f971733d89ce4b0a9ffc782c13114e1eee.tar.xz yuzu-e92b10f971733d89ce4b0a9ffc782c13114e1eee.zip | |
dist: add udev rule to enable user hidraw access (#12292)
* dist: add udev rule to enable user hidraw access
* dist: amend install instructions for udev rules
* dist: change udev prefix prefix from 99 to 72
* dist: fix header typo for udev rule
* Update dist/72-yuzu-input.rules
shoutout to @liamwhite
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
* Update dist/72-yuzu-input.rules
shout out to @liamwhite
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
* Update dist/72-yuzu-input.rules
shout out to @liamwhite
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
* Update dist/72-yuzu-input.rules
shout out to @liamwhite
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
* Update dist/72-yuzu-input.rules
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
* dist: add spdx header to udev rules
* dist: change udev modes to 0660
* Update dist/72-yuzu-input.rules
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
* Update dist/72-yuzu-input.rules
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
---------
Co-authored-by: HurricanePootis <hurricanepootis@protonmail.com>
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
Diffstat (limited to 'dist/72-yuzu-input.rules')
| -rw-r--r-- | dist/72-yuzu-input.rules | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dist/72-yuzu-input.rules b/dist/72-yuzu-input.rules new file mode 100644 index 000000000..d64f8b28d --- /dev/null +++ b/dist/72-yuzu-input.rules | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # SPDX-FileCopyrightText: 2023 yuzu Emulator Project | ||
| 2 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | # Allow systemd-logind to manage user access to hidraw with this file | ||
| 5 | # On most systems, this file should be installed to /etc/udev/rules.d/72-yuzu-input.rules | ||
| 6 | # Consult your distro if this is not the case | ||
| 7 | |||
| 8 | # Switch Pro Controller (USB/Bluetooth) | ||
| 9 | KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess" | ||
| 10 | KERNEL=="hidraw*", KERNELS=="*057e:2009*", MODE="0660", TAG+="uaccess" | ||
| 11 | |||
| 12 | # Joy-Con L (Bluetooth) | ||
| 13 | KERNEL=="hidraw*", KERNELS=="*057e:2006*", MODE="0660", TAG+="uaccess" | ||
| 14 | |||
| 15 | # Joy-Con R (Bluetooth) | ||
| 16 | KERNEL=="hidraw*", KERNELS=="*057e:2007*", MODE="0660", TAG+="uaccess" | ||
| 17 | |||
| 18 | # Joy-Con Charging Grip (USB) | ||
| 19 | KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="200e", MODE="0660", TAG+="uaccess" | ||