mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 06:50:05 +01:00
udev: *add* the fuzz-to-zero program to the udev RUN list, don't overwrite
For historical reasons, the keyboard builtin that sets the EVDEV_ABS values is added as RUN. When we add our own fuzz-to-zero tool we must use +=, just using an equals overwrites the existing RUN list. The same is true for the IMPORT command we use to extract the fuzz to begin with. Fixes #424 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
ed1d181cf6
commit
19898eb2b2
1 changed files with 4 additions and 4 deletions
|
|
@ -15,13 +15,13 @@ KERNEL!="event*", GOTO="libinput_fuzz_override_end"
|
|||
# about that.
|
||||
ATTRS{capabilities/abs}!="0", \
|
||||
ENV{ID_INPUT_TOUCHPAD}=="1", \
|
||||
IMPORT{program}="@UDEV_TEST_PATH@libinput-fuzz-extract %S%p", \
|
||||
RUN{program}="@UDEV_TEST_PATH@libinput-fuzz-to-zero %S%p", \
|
||||
IMPORT{program}+="@UDEV_TEST_PATH@libinput-fuzz-extract %S%p", \
|
||||
RUN{program}+="@UDEV_TEST_PATH@libinput-fuzz-to-zero %S%p", \
|
||||
GOTO="libinput_fuzz_override_end"
|
||||
ATTRS{capabilities/abs}!="0", \
|
||||
ENV{ID_INPUT_TOUCHSCREEN}=="1", \
|
||||
IMPORT{program}="@UDEV_TEST_PATH@libinput-fuzz-extract %S%p", \
|
||||
RUN{program}="@UDEV_TEST_PATH@libinput-fuzz-to-zero %S%p", \
|
||||
IMPORT{program}+="@UDEV_TEST_PATH@libinput-fuzz-extract %S%p", \
|
||||
RUN{program}+="@UDEV_TEST_PATH@libinput-fuzz-to-zero %S%p", \
|
||||
GOTO="libinput_fuzz_override_end"
|
||||
|
||||
LABEL="libinput_fuzz_override_end"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue