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>
This commit is contained in:
Peter Hutterer 2018-09-10 15:51:03 +10:00
parent e09c822fd1
commit 6c1e348789

View file

@ -6,7 +6,7 @@
ACTION!="add|change", GOTO="libinput_model_quirks_end" ACTION!="add|change", GOTO="libinput_model_quirks_end"
KERNEL!="event*", 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" LABEL="libinput_model_quirks_end"