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