chiark / gitweb /
nspawn: remove the right propagation directory
[elogind.git] / rules / 70-mouse.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION=="remove", GOTO="mouse_end"
4 KERNEL!="event*", GOTO="mouse_end"
5 ENV{ID_INPUT_MOUSE}=="", GOTO="mouse_end"
6
7 # mouse:<subsystem>:v<vid>p<pid>:name:<name>:*
8 KERNELS=="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"
11 KERNELS=="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"
14 DRIVERS=="psmouse", SUBSYSTEMS=="serio", \
15         IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
16         GOTO="mouse_end"
17
18 LABEL="mouse_end"