diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-11-15 11:14:10 +1000 |
---|---|---|
committer | José Expósito <jose.exposito89@gmail.com> | 2021-11-16 06:47:48 +0000 |
commit | 86698c81842520da5daba61c35271bc080880aa5 (patch) | |
tree | c3937c8907eb9c197d7142b16fcd3af81d5f17d3 | |
parent | 3cb39abe9b229c18938fdf3748c60004a79d51a3 (diff) | |
download | libinput-86698c81842520da5daba61c35271bc080880aa5.tar.gz |
doc/user: add an example udev rule for LIBINPUT_IGNORE_DEVICE
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | doc/user/device-configuration-via-udev.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/user/device-configuration-via-udev.rst b/doc/user/device-configuration-via-udev.rst index 80f536b1..ee3345ca 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: |