Expand documentation for libinput_udev_create_for_seat
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 13 Mar 2014 04:28:26 +0000 (14:28 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 23 Mar 2014 23:08:07 +0000 (09:08 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>
src/libinput.h

index d6bf9f8..dab24b7 100644 (file)
@@ -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.