1# do not edit this file, it will be overwritten on update
2
3ACTION=="remove", GOTO="joystick_end"
4ENV{ID_INPUT_JOYSTICK}=="", GOTO="joystick_end"
5KERNEL!="event*", GOTO="joystick_end"
6
7# joystick:<bustype>:v<vid>p<pid>:name:<name>:*
8KERNELS=="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
12LABEL="joystick_end"
13