openwrt/package/udev/files/20-input-grouping.rules
Jeremy Kerr 199a79d867 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>

SVN-Revision: 10804
2008-04-12 23:24:22 +00:00

10 lines
266 B
Plaintext

# 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"