hadess | c8ec393 | 2017-06-26 12:17:36 +0200 | [diff] [blame] | 1 | # do not edit this file, it will be overwritten on update |
2 | |||||
3 | ACTION=="remove", GOTO="joystick_end" | ||||
4 | ENV{ID_INPUT_JOYSTICK}=="", GOTO="joystick_end" | ||||
5 | KERNEL!="event*", GOTO="joystick_end" | ||||
6 | |||||
7 | # joystick:<bustype>:v<vid>p<pid>:name:<name>:* | ||||
8 | KERNELS=="input*", ENV{ID_BUS}!="", \ | ||||
9 | IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \ | ||||
10 | GOTO="joystick_end" | ||||
11 | |||||
12 | LABEL="joystick_end" |