2015-04-20 14:29:44 -04:00
|
|
|
# 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"
|
|
|
|
|
|
2015-06-05 10:13:56 +10:00
|
|
|
# libinput:touchpad:<modalias>
|
|
|
|
|
ENV{ID_INPUT_TOUCHPAD}=="1", \
|
2015-07-16 15:59:01 +10:00
|
|
|
IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:touchpad:"
|
2015-04-20 14:29:44 -04:00
|
|
|
|
2017-09-20 10:50:19 +10:00
|
|
|
# libinput:tablet:<modalias>
|
|
|
|
|
ENV{ID_INPUT_TABLET}=="1", \
|
|
|
|
|
IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:tablet:"
|
|
|
|
|
|
2016-01-29 10:09:13 +10:00
|
|
|
# libinput:mouse:<modalias>
|
|
|
|
|
ENV{ID_INPUT_MOUSE}=="1", \
|
|
|
|
|
IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:mouse:"
|
|
|
|
|
|
2018-05-30 10:50:05 +10:00
|
|
|
# libinput:pointingstick:<modalias>
|
|
|
|
|
ENV{ID_INPUT_POINTINGSTICK}=="1", \
|
|
|
|
|
IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:pointingstick:"
|
|
|
|
|
|
2017-05-22 13:34:10 +10:00
|
|
|
# libinput:touchpad:<modalias>
|
|
|
|
|
ENV{ID_INPUT_KEYBOARD}=="1", \
|
|
|
|
|
IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=libinput:keyboard:"
|
|
|
|
|
|
2015-04-20 14:29:44 -04:00
|
|
|
# libinput:name:<name>:dmi:<dmi string>
|
|
|
|
|
KERNELS=="input*", \
|
2015-07-16 15:59:01 +10:00
|
|
|
IMPORT{builtin}="hwdb 'libinput:name:$attr{name}:$attr{[dmi/id]modalias}'"
|
2015-06-05 10:13:56 +10:00
|
|
|
|
2017-04-28 15:32:59 +02:00
|
|
|
# libinput:name:<name>:dt:<device-tree string>
|
|
|
|
|
KERNELS=="input*", \
|
|
|
|
|
IMPORT{builtin}="hwdb 'libinput:name:$attr{name}:dt:$attr{[devicetree/base]model}'"
|
|
|
|
|
|
2015-04-20 14:29:44 -04:00
|
|
|
LABEL="libinput_model_quirks_end"
|