mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 00:00:28 +01:00
doc/user: add an example udev rule for LIBINPUT_IGNORE_DEVICE
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
3cb39abe9b
commit
86698c8184
1 changed files with 9 additions and 0 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue