From: Peter Hutterer Date: Mon, 15 Nov 2021 01:14:10 +0000 (+1000) Subject: doc/user: add an example udev rule for LIBINPUT_IGNORE_DEVICE X-Git-Tag: 1.19.901~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86698c81842520da5daba61c35271bc080880aa5;p=platform%2Fupstream%2Flibinput.git doc/user: add an example udev rule for LIBINPUT_IGNORE_DEVICE Signed-off-by: Peter Hutterer --- diff --git a/doc/user/device-configuration-via-udev.rst b/doc/user/device-configuration-via-udev.rst index 80f536b..ee3345c 100644 --- a/doc/user/device-configuration-via-udev.rst +++ b/doc/user/device-configuration-via-udev.rst @@ -134,6 +134,15 @@ devices at all unset the **ID_INPUT** and related properties instead. The ignore this property but other parts of the stack (if any) should continue treating this device normally. +Below is an example udev rule to assign **LIBINPUT_IGNORE_DEVICE** to the +device with the vendor/model ID of ``012a``/``034b``. :: + + $ cat /etc/udev/rules.d/99-ignore-my-device.rules + ACTION=="add|change", KERNEL=="event[0-9]*", \ + ENV{ID_VENDOR_ID}=="012a", \ + ENV{ID_MODEL_ID}=="034b", \ + ENV{LIBINPUT_IGNORE_DEVICE}="1" + .. _model_specific_configuration: