]> git.ipfire.org Git - thirdparty/systemd.git/blame - rules/70-joystick.rules
Merge pull request #11714 from poettering/final-news-241
[thirdparty/systemd.git] / rules / 70-joystick.rules
CommitLineData
c8ec393b
BN
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"