mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-09 07:28:25 +02:00
Some doc fixes relating to keymaps
There are no client created keymaps anymore.
This commit is contained in:
parent
19ae05b33b
commit
46b39c2b38
1 changed files with 4 additions and 10 deletions
14
src/libeis.h
14
src/libeis.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue