From c42129c0ff94caa239ea0cfbd3913d8b8ffa7b09 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 11 Mar 2022 10:22:13 +1000 Subject: [PATCH] Fix a comment referring to an old implementation --- src/libeis.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/libeis.h b/src/libeis.h index 7b0bb0b..2590095 100644 --- a/src/libeis.h +++ b/src/libeis.h @@ -616,13 +616,18 @@ eis_device_has_capability(struct eis_device *device, enum eis_device_capability cap); /** - * Create a new device with the given name and capabilities on the seat. - * - * This device is not immediately active, use eis_device_add() to - * notify the client of it's availability. + * Create a new device on the seat. This device is not immediately active, use + * eis_device_add() to notify the client of it's availability. * * The returned device is refcounted, use eis_device_unref() to drop the * reference. + * + * Before calling eis_device_add(), use the following functions to set up the + * device: + * - eis_device_configure_name() + * - eis_device_configure_capability() + * - eis_device_new_region() + * - eis_device_new_keymap() */ struct eis_device * eis_seat_new_device(struct eis_seat *seat);