From 7016a960b88d1d1e9bae2baf57dcd21e61932ab7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 22 Apr 2015 08:16:42 +1000 Subject: [PATCH] doc: add a note that sometimes there's more than one ID_INPUT_* set Just setting one of them on a device doesn't guarantee that libinput takes that as device type. Signed-off-by: Peter Hutterer --- doc/device-configuration-via-udev.dox | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/device-configuration-via-udev.dox b/doc/device-configuration-via-udev.dox index fc1c0af8..c319c409 100644 --- a/doc/device-configuration-via-udev.dox +++ b/doc/device-configuration-via-udev.dox @@ -44,7 +44,10 @@ udev_device_type. ID_INPUT_TOUCHSCREEN, ID_INPUT_TABLET, ID_INPUT_JOYSTICK, ID_INPUT_ACCELEROMETER
If any of the above is set, libinput initializes the device as the given -type, see @ref udev_device_type.
+type, see @ref udev_device_type. Note that for historical reasons more than +one of these may be set at any time, libinput will select only one of these +to determine the device type. To ensure libinput selects the correct device +type, only set one of them.
WL_SEAT
Assigns the logical seat for this device. See libinput_seat_get_logical_name()