forked from enlightenment/efl
ecore-drm2: Add API functions to support cacheing of context & keymap
@feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
593961c2e2
commit
09805d2b15
|
@ -241,6 +241,28 @@ EAPI void ecore_drm2_device_window_set(Ecore_Drm2_Device *device, unsigned int w
|
||||||
*/
|
*/
|
||||||
EAPI void ecore_drm2_device_pointer_max_set(Ecore_Drm2_Device *device, int w, int h);
|
EAPI void ecore_drm2_device_pointer_max_set(Ecore_Drm2_Device *device, int w, int h);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set a cached context to be used on keyboards
|
||||||
|
*
|
||||||
|
* @param device
|
||||||
|
* @param context
|
||||||
|
*
|
||||||
|
* @ingroup Ecore_Drm2_Device_Group
|
||||||
|
* @since 1.18
|
||||||
|
*/
|
||||||
|
EAPI void ecore_drm2_device_keyboard_cached_context_set(Ecore_Drm2_Device *device, void *context);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set a cached keymap to be used on keyboards
|
||||||
|
*
|
||||||
|
* @param device
|
||||||
|
* @param keymap
|
||||||
|
*
|
||||||
|
* @ingroup Ecore_Drm2_Device_Group
|
||||||
|
* @since 1.18
|
||||||
|
*/
|
||||||
|
EAPI void ecore_drm2_device_keyboard_cached_keymap_set(Ecore_Drm2_Device *device, void *keymap);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the crtcs of a given device
|
* Get the crtcs of a given device
|
||||||
*
|
*
|
||||||
|
|
|
@ -265,6 +265,22 @@ ecore_drm2_device_pointer_max_set(Ecore_Drm2_Device *device, int w, int h)
|
||||||
elput_input_pointer_max_set(device->em, w, h);
|
elput_input_pointer_max_set(device->em, w, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EAPI void
|
||||||
|
ecore_drm2_device_keyboard_cached_context_set(Ecore_Drm2_Device *device, void *context)
|
||||||
|
{
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN(device);
|
||||||
|
|
||||||
|
elput_input_keyboard_cached_context_set(device->em, context);
|
||||||
|
}
|
||||||
|
|
||||||
|
EAPI void
|
||||||
|
ecore_drm2_device_keyboard_cached_keymap_set(Ecore_Drm2_Device *device, void *keymap)
|
||||||
|
{
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN(device);
|
||||||
|
|
||||||
|
elput_input_keyboard_cached_keymap_set(device->em, keymap);
|
||||||
|
}
|
||||||
|
|
||||||
EAPI unsigned int *
|
EAPI unsigned int *
|
||||||
ecore_drm2_device_crtcs_get(Ecore_Drm2_Device *device, int *num)
|
ecore_drm2_device_crtcs_get(Ecore_Drm2_Device *device, int *num)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue