Group input devices under /dev/input
[openwrt/openwrt.git] / package / udev / files / 20-input-grouping.rules
1 # Input devices, group under /dev/input
2 SUBSYSTEM!="input", GOTO="input_grouping_end"
3
4 KERNEL=="event[0-9]*", NAME="input/%k"
5 KERNEL=="mice", NAME="input/%k"
6 KERNEL=="mouse[0-9]*", NAME="input/%k"
7 KERNEL=="js[0-9]*", NAME="input/%k"
8
9 LABEL="input_grouping_end"