summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-05-26 16:34:10 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-05-26 16:27:42 -0400
commite8fe0bcc47ff44a5afaf8442407248887f716b89 (patch)
tree4fd7e06b862670ab7f87b2aa313f763e77b99cfc /src/lib/elput/Elput.h
parent6ddcd48fdeb57fc5b237825df709a2e3746e845e (diff)
elput/drm: redo xkb context/keymap setting
context and keymap need to be set at the same time in order to effectively update keyboard state, and active group should be accessible through api as well preserve old function ABI to ensure old binaries don't crash
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 378912eb90..f9e950c821 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -395,26 +395,28 @@ EAPI Eina_Bool elput_input_key_remap_enable(Elput_Manager *manager, Eina_Bool en
395EAPI Eina_Bool elput_input_key_remap_set(Elput_Manager *manager, int *from_keys, int *to_keys, int num); 395EAPI Eina_Bool elput_input_key_remap_set(Elput_Manager *manager, int *from_keys, int *to_keys, int num);
396 396
397/** 397/**
398 * Set a cached context to be used for keyboards 398 * Set info to be used for keyboards
399 * 399 *
400 * @param manager 400 * @param manager
401 * @param context 401 * @param context
402 * @param keymap
403 * @param group
402 * 404 *
403 * @ingroup Elput_Input_Group 405 * @ingroup Elput_Input_Group
404 * @since 1.18 406 * @since 1.20
405 */ 407 */
406EAPI void elput_input_keyboard_cached_context_set(Elput_Manager *manager, void *context); 408EAPI void elput_input_keyboard_info_set(Elput_Manager *manager, void *context, void *keymap, int group);
407 409
408/** 410/**
409 * Set a cached keymap to be used for keyboards 411 * Set group layout to be used for keyboards
410 * 412 *
411 * @param manager 413 * @param manager
412 * @param keymap 414 * @param group
413 * 415 *
414 * @ingroup Elput_Input_Group 416 * @ingroup Elput_Input_Group
415 * @since 1.18 417 * @since 1.20
416 */ 418 */
417EAPI void elput_input_keyboard_cached_keymap_set(Elput_Manager *manager, void *keymap); 419EAPI void elput_input_keyboard_group_set(Elput_Manager *manager, int group);
418 420
419/** 421/**
420 * Return the output name associated with a given device 422 * Return the output name associated with a given device