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"
14DRIVERS=="psmouse", SUBSYSTEMS=="serio", \
15        IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
16        GOTO="mouse_end"
17
18LABEL="mouse_end"
19