Peter Hutterer | 0213a26 | 2014-11-25 21:35:16 +1000 | [diff] [blame] | 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" |
Peter Hutterer | 60329a9 | 2014-12-23 10:14:19 +1000 | [diff] [blame] | 14 | DRIVERS=="psmouse", SUBSYSTEMS=="serio", \ |
| 15 | IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \ |
| 16 | GOTO="mouse_end" |
Peter Hutterer | 0213a26 | 2014-11-25 21:35:16 +1000 | [diff] [blame] | 17 | |
| 18 | LABEL="mouse_end" |