From 6b6bb8fdf92872e60c2e7950ce8275ce47b138e1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 13 Mar 2014 14:28:26 +1000 Subject: [PATCH] Expand documentation for libinput_udev_create_for_seat MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl --- src/libinput.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libinput.h b/src/libinput.h index d6bf9f8..dab24b7 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -691,6 +691,13 @@ struct libinput_interface { * the given seat ID. New devices or devices removed will appear as events * during libinput_dispatch. * + * libinput_udev_create_for_seat() succeeds even if no input device is + * available in this seat, or if devices are available but fail to open in + * @ref libinput_interface::open_restricted. Devices that do not have the + * minimum capabilities to be recognized as pointer, keyboard or touch + * device are ignored. Such devices and those that failed to open + * ignored until the next call to libinput_resume(). + * * @param interface The callback interface * @param user_data Caller-specific data passed to the various callback * interfaces. -- 2.7.4