HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

rules.d/70-joystick.rules

Git blob: 34c369a78db71ba7bf54a1e5c7b5ef5301bc0d75

Lines 1–12 of 12

# do not edit this file, it will be overwritten on update
 
ACTION=="remove", GOTO="joystick_end"
ENV{ID_INPUT_JOYSTICK}=="", GOTO="joystick_end"
KERNEL!="event*", GOTO="joystick_end"
 
# joystick:<bustype>:v<vid>p<pid>:name:<name>:*
KERNELS=="input*", ENV{ID_BUS}!="", \
        IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'"
 
LABEL="joystick_end"