• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Do not edit this file, it will be overwritten on update
2#
3# This file contains lookup rules for libinput model-specific quirks.
4# IT IS NOT A STABLE API AND SUBJECT TO CHANGE AT ANY TIME
5
6ACTION=="remove", GOTO="libinput_fuzz_override_end"
7KERNEL!="event*", GOTO="libinput_fuzz_override_end"
8
9# Two-step process: fuzz-extract sets the LIBINPUT_FUZZ property and
10# fuzz-to-zero sets the kernel fuzz to zero. They must be in IMPORT and RUN,
11# respectively, to correctly interact with the 60-evdev.hwdb
12#
13# Drawback: if this rule is triggered more than once, we'll lose the fuzz
14# information (because the kernel fuzz will then be zero). Nothing we can do
15# about that.
16ATTRS{capabilities/abs}!="0", \
17	ENV{ID_INPUT_TOUCHPAD}=="1", \
18	IMPORT{program}="@UDEV_TEST_PATH@libinput-fuzz-extract %S%p", \
19	RUN{program}+="@UDEV_TEST_PATH@libinput-fuzz-to-zero %S%p", \
20	GOTO="libinput_fuzz_override_end"
21ATTRS{capabilities/abs}!="0", \
22	ENV{ID_INPUT_TOUCHSCREEN}=="1", \
23	IMPORT{program}="@UDEV_TEST_PATH@libinput-fuzz-extract %S%p", \
24	RUN{program}+="@UDEV_TEST_PATH@libinput-fuzz-to-zero %S%p", \
25	GOTO="libinput_fuzz_override_end"
26
27LABEL="libinput_fuzz_override_end"
28