aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/ecore_drm2_device.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-24 09:32:21 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-27 11:57:53 -0400
commit7b5af2f0df36e896878c3609ec870ecd73c953f5 (patch)
treeb73ec53e5b8e396dc3cd536f2a60fa9f022210c1 /src/lib/ecore_drm2/ecore_drm2_device.c
parentevas-drm: Fix occasoinaly freezes (diff)
downloadefl-7b5af2f0df36e896878c3609ec870ecd73c953f5.tar.gz
ecore-drm2: Add API function to set left-handed mouse mode
This commit adds an API function used to set a mouse to be left-handed @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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 5c42902940..1e9ded816e 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -240,6 +240,14 @@ ecore_drm2_device_pointer_warp(Ecore_Drm2_Device *device, int x, int y)
elput_input_pointer_xy_set(device->em, NULL, x, y);
}
+EAPI Eina_Bool
+ecore_drm2_device_pointer_left_handed_set(Ecore_Drm2_Device *device, Eina_Bool left)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(device, EINA_FALSE);
+
+ return elput_input_pointer_left_handed_set(device->em, NULL, left);
+}
+
EAPI void
ecore_drm2_device_window_set(Ecore_Drm2_Device *device, unsigned int window)
{