aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-08-24 11:42:57 -0400
committerChris Michael <cp.michael@samsung.com>2017-08-24 11:42:57 -0400
commit474da251658b7d7442756f9b957d86e5776e5928 (patch)
treed15d9f0397d3dc228bfe270acbecdab9722c922d /src/lib/ecore_drm2/Ecore_Drm2.h
parentecore-drm2: Add API function to allow setting pointer acceleration speed (diff)
downloadefl-474da251658b7d7442756f9b957d86e5776e5928.tar.gz
ecore-drm2: Add API to allow setting pointer acceleration profile
Small patch to allow setting pointer acceleration profile (for wayland) from within Enlightenment. ref https://phab.enlightenment.org/T4736 @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index f9055fb927..19f00cf929 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -284,6 +284,17 @@ EAPI void ecore_drm2_device_pointer_max_set(Ecore_Drm2_Device *device, int w, in
EAPI void ecore_drm2_device_pointer_accel_speed_set(Ecore_Drm2_Device *device, double speed);
/**
+ * Set pointer acceleration profile
+ *
+ * @param device
+ * @param profile
+ *
+ * @ingroup Ecore_Drm2_Device_Group
+ * @since 1.21
+ */
+EAPI void ecore_drm2_device_pointer_accel_profile_set(Ecore_Drm2_Device *device, uint32_t profile);
+
+/**
* Set pointer value rotation
*
* @param device