]> git.ipfire.org Git - thirdparty/systemd.git/blame - rules.d/70-mouse.rules
update TODO
[thirdparty/systemd.git] / rules.d / 70-mouse.rules
CommitLineData
0213a26f
PH
1# do not edit this file, it will be overwritten on update
2
3ACTION=="remove", GOTO="mouse_end"
4KERNEL!="event*", GOTO="mouse_end"
5ENV{ID_INPUT_MOUSE}=="", GOTO="mouse_end"
6
7# mouse:<subsystem>:v<vid>p<pid>:name:<name>:*
8KERNELS=="input*", ENV{ID_BUS}=="usb", \
9 IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
10 GOTO="mouse_end"
11KERNELS=="input*", ENV{ID_BUS}=="bluetooth", \
12 IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
13 GOTO="mouse_end"
60329a9d
PH
14DRIVERS=="psmouse", SUBSYSTEMS=="serio", \
15 IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
16 GOTO="mouse_end"
0213a26f
PH
17
18LABEL="mouse_end"