70-joystick.rules 432 B

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