mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package/udev] Group input devices under /dev/input
This change adds a udev rules file to group input devices (via symlinks) under their usual expected location of /dev/input. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10804 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
9
package/udev/files/20-input-grouping.rules
Normal file
9
package/udev/files/20-input-grouping.rules
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user