# Do not edit this file, it will be overwritten on update # # This file contains lookup rules for libinput model-specific quirks. # The contents of this file are a contract between libinput, udev rules and # the hwdb. # IT IS NOT A STABLE API AND SUBJECT TO CHANGE AT ANY TIME # # The hwdb database is in: # 90-libinput-model-quirks.hwdb ACTION!="add|change", GOTO="libinput_model_quirks_end" KERNEL!="event*", GOTO="libinput_model_quirks_end" # libinput:touchpad: ENV{ID_INPUT_TOUCHPAD}=="1", \ IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:touchpad:" # libinput:tablet: ENV{ID_INPUT_TABLET}=="1", \ IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:tablet:" # libinput:mouse: ENV{ID_INPUT_MOUSE}=="1", \ IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:mouse:" # libinput:pointingstick: ENV{ID_INPUT_POINTINGSTICK}=="1", \ IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:pointingstick:" # libinput:touchpad: ENV{ID_INPUT_KEYBOARD}=="1", \ IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:keyboard:" # libinput:name::dmi: KERNELS=="input*", \ IMPORT{builtin}="hwdb 'libinput:name:$attr{name}:$attr{[dmi/id]modalias}'" # libinput:name::dt: KERNELS=="input*", \ IMPORT{builtin}="hwdb 'libinput:name:$attr{name}:dt:$attr{[devicetree/base]model}'" LABEL="libinput_model_quirks_end"