summaryrefslogtreecommitdiff
path: root/udev/90-libinput-model-quirks.rules.in
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-09-10 15:16:49 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-09-10 15:57:27 +1000
commite09c822fd1747dd3b51218d2b241170da38aae5b (patch)
tree2b6555e0553cad238c69d771b9956439e2ceecd6 /udev/90-libinput-model-quirks.rules.in
parentf38fae3a8990f93153f9fa740f0d40c3c5cff947 (diff)
udev: re-instate the model-quirks callout
This was removed accidentally as part of a9ef4ba1f33bf8 and then completely dropped in 870ddce9e47a89 when the hwdb was deprecated completely. The model quirks call is also the one that reads and sets the LIBINPUT_FUZZ property, effectively making that code a noop. Fixes #138 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'udev/90-libinput-model-quirks.rules.in')
-rw-r--r--udev/90-libinput-model-quirks.rules.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/udev/90-libinput-model-quirks.rules.in b/udev/90-libinput-model-quirks.rules.in
new file mode 100644
index 00000000..926a6c3f
--- /dev/null
+++ b/udev/90-libinput-model-quirks.rules.in
@@ -0,0 +1,12 @@
+# Do not edit this file, it will be overwritten on update
+#
+# This file contains lookup rules for libinput model-specific quirks.
+# IT IS NOT A STABLE API AND SUBJECT TO CHANGE AT ANY TIME
+
+ACTION!="add|change", GOTO="libinput_model_quirks_end"
+KERNEL!="event*", GOTO="libinput_model_quirks_end"
+
+IMPORT{program}="@UDEV_TEST_PATH@libinput-model-quirks %S%p"
+
+LABEL="libinput_model_quirks_end"
+