aboutsummaryrefslogtreecommitdiffstats
path: root/package/udev/files/20-input-grouping.rules
diff options
context:
space:
mode:
Diffstat (limited to 'package/udev/files/20-input-grouping.rules')
-rw-r--r--package/udev/files/20-input-grouping.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/udev/files/20-input-grouping.rules b/package/udev/files/20-input-grouping.rules
new file mode 100644
index 0000000000..b124a1747a
--- /dev/null
+++ b/package/udev/files/20-input-grouping.rules
@@ -0,0 +1,9 @@
+# Input devices, group under /dev/input
+SUBSYSTEM!="input", GOTO="input_grouping_end"
+
+KERNEL=="event[0-9]*", NAME="input/%k"
+KERNEL=="mice", NAME="input/%k"
+KERNEL=="mouse[0-9]*", NAME="input/%k"
+KERNEL=="js[0-9]*", NAME="input/%k"
+
+LABEL="input_grouping_end"