Some doc fixes relating to keymaps

There are no client created keymaps anymore.
This commit is contained in:
David Redondo 2022-03-03 14:05:20 +01:00
parent 19ae05b33b
commit 46b39c2b38

View file

@ -724,7 +724,7 @@ eis_device_new_keymap(struct eis_device *device,
*
* The keymap is constant for the lifetime of the device and assigned to
* this device individually. Where the keymap has to change, remove the
* device and wait for the client to create a new one.
* device and create a new one.
*
* If a keymap is `NULL`, the device does not have an individual keymap
* assigned. Note that this may mean the client needs to guess at the
@ -769,21 +769,15 @@ void
eis_keymap_set_user_data(struct eis_keymap *eis_keymap, void *user_data);
/**
* Return the device this keymap belongs to, or `NULL` if it has not yet
* been assigned to a device.
*
* If the keymap is a client-assigned keymap and the server has changed or
* unset the keymap with eis_device_keyboard_set_keymap(), this function
* returns `NULL`.
*
* Return the device this keymap belongs to.
*/
struct eis_device *
eis_keymap_get_device(struct eis_keymap *keymap);
/**
* Return the keymap assigned to this device. The return value of this
* function is the client-assigned keymap (if any) before the call to
* eis_device_keyboard_set_keymap(), or the server-assigned one after.
* function is the keymap (if any) after the call to
* eis_keymap_add().
*/
struct eis_keymap *
eis_device_keyboard_get_keymap(struct eis_device *device);