aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/ecore_drm2_device.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-27 09:55:11 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-27 11:57:53 -0400
commit09805d2b15a71a361ec4bf3154f797fe3314775d (patch)
treeaddf704c83a83cb032b4cb0f13fdde9d9ffd70e4 /src/lib/ecore_drm2/ecore_drm2_device.c
parentecore-evas-drm: Fix issue of mouse pointer not centering on startup (diff)
downloadefl-09805d2b15a71a361ec4bf3154f797fe3314775d.tar.gz
ecore-drm2: Add API functions to support cacheing of context & keymapdevs/devilhorns/ecore_drm2
@feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_device.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index b4948d4121..95b7315935 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -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);
}
+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 *
ecore_drm2_device_crtcs_get(Ecore_Drm2_Device *device, int *num)
{