aboutsummaryrefslogtreecommitdiff
path: root/dist/72-eden-input.rules
diff options
context:
space:
mode:
Diffstat (limited to 'dist/72-eden-input.rules')
-rw-r--r--dist/72-eden-input.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/72-eden-input.rules b/dist/72-eden-input.rules
new file mode 100644
index 0000000000..b84ed200a3
--- /dev/null
+++ b/dist/72-eden-input.rules
@@ -0,0 +1,8 @@
+# SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+# Allow systemd-logind to manage user access to hidraw with this file
+# On most systems, this file should be installed to /etc/udev/rules.d/72-eden-input.rules
+# Consult your distro if this is not the case
+
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ENV{ID_INPUT_JOYSTICK}=="1", MODE="0660", TAG+="uaccess"