From 6c1e34878926d522d9711da724127cab322bd58c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 10 Sep 2018 15:51:03 +1000 Subject: 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 --- udev/90-libinput-model-quirks.rules.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev') 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" -- cgit v1.2.1