summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-09-10 15:51:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-09-10 15:57:34 +1000
commit6c1e34878926d522d9711da724127cab322bd58c (patch)
tree3fdc96fb141509d467c1bde05aa09f9acba8d440 /udev
parente09c822fd1747dd3b51218d2b241170da38aae5b (diff)
udev: tighten the conditions when we call the model quirks
All we do now is to set the fuzz, so we only ever need to care about this when a device has absolute axes. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'udev')
-rw-r--r--udev/90-libinput-model-quirks.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/90-libinput-model-quirks.rules.in b/udev/90-libinput-model-quirks.rules.in
index 926a6c3f..e0e83f81 100644
--- a/udev/90-libinput-model-quirks.rules.in
+++ b/udev/90-libinput-model-quirks.rules.in
@@ -6,7 +6,7 @@
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"
+ATTRS{capabilities/abs}!="0", IMPORT{program}="@UDEV_TEST_PATH@libinput-model-quirks %S%p"
LABEL="libinput_model_quirks_end"