summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/udev/udev.rules8
-rw-r--r--etc/udev/udev.rules.devfs8
2 files changed, 16 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index a2279976fe..1f3ef07242 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -63,3 +63,11 @@ KERNEL="midi[CD0-9]*", NAME="snd/%k"
KERNEL="timer", NAME="snd/%k"
KERNEL="seq", NAME="snd/%k"
+# input devices
+KERNEL="mice", NAME="input/%k"
+KERNEL="keyboard", NAME="input/%k"
+KERNEL="mouse*", NAME="input/%k"
+KERNEL="event*", NAME="input/%k"
+KERNEL="js*", NAME="input/%k"
+KERNEL="ts*", NAME="input/%k"
+
diff --git a/etc/udev/udev.rules.devfs b/etc/udev/udev.rules.devfs
index bc3f26c1cc..026e9465b1 100644
--- a/etc/udev/udev.rules.devfs
+++ b/etc/udev/udev.rules.devfs
@@ -69,3 +69,11 @@ KERNEL="midi[CD0-9]*", NAME="snd/%k"
KERNEL="timer", NAME="snd/%k"
KERNEL="seq", NAME="snd/%k"
+# input devices
+KERNEL="mice", NAME="input/%k"
+KERNEL="keyboard", NAME="input/%k"
+KERNEL="mouse*", NAME="input/%k"
+KERNEL="event*", NAME="input/%k"
+KERNEL="js*", NAME="input/%k"
+KERNEL="ts*", NAME="input/%k"
+