summaryrefslogtreecommitdiff
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
parent5535c049cdfeb0a5a3b192b08ccfeec7a78c7c99 (diff)
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)
240 elput_input_pointer_xy_set(device->em, NULL, x, y); 240 elput_input_pointer_xy_set(device->em, NULL, x, y);
241} 241}
242 242
243EAPI Eina_Bool
244ecore_drm2_device_pointer_left_handed_set(Ecore_Drm2_Device *device, Eina_Bool left)
245{
246 EINA_SAFETY_ON_NULL_RETURN_VAL(device, EINA_FALSE);
247
248 return elput_input_pointer_left_handed_set(device->em, NULL, left);
249}
250
243EAPI void 251EAPI void
244ecore_drm2_device_window_set(Ecore_Drm2_Device *device, unsigned int window) 252ecore_drm2_device_window_set(Ecore_Drm2_Device *device, unsigned int window)
245{ 253{