aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/ecore_drm2_device.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-26 10:43:35 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-27 11:57:53 -0400
commit0416aa6bf34f19d618d84344f6cfd22f4774609f (patch)
treee94244ea0a2a01c1431bdf14dbc50aa201616b77 /src/lib/ecore_drm2/ecore_drm2_device.c
parentecore-drm2: update to latest elput (diff)
downloadefl-0416aa6bf34f19d618d84344f6cfd22f4774609f.tar.gz
ecore-drm2: Add API function to calibrate input devices
This adds a new API function that Ecore_Evas can call to calibrate input devices given size of the output 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 df4f99173f..b4948d4121 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -289,3 +289,11 @@ ecore_drm2_device_screen_size_range_get(Ecore_Drm2_Device *device, int *minw, in
if (maxw) *maxw = device->max.width;
if (maxh) *maxh = device->max.height;
}
+
+EAPI void
+ecore_drm2_device_calibrate(Ecore_Drm2_Device *device, int w, int h)
+{
+ EINA_SAFETY_ON_NULL_RETURN(device);
+
+ elput_input_devices_calibrate(device->em, w, h);
+}