Fix a comment referring to an old implementation

This commit is contained in:
Peter Hutterer 2022-03-11 10:22:13 +10:00
parent 0cca0359af
commit c42129c0ff

View file

@ -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);