summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h11
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c8
2 files changed, 19 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
284EAPI void ecore_drm2_device_pointer_accel_speed_set(Ecore_Drm2_Device *device, double speed); 284EAPI void ecore_drm2_device_pointer_accel_speed_set(Ecore_Drm2_Device *device, double speed);
285 285
286/** 286/**
287 * Set pointer acceleration profile
288 *
289 * @param device
290 * @param profile
291 *
292 * @ingroup Ecore_Drm2_Device_Group
293 * @since 1.21
294 */
295EAPI void ecore_drm2_device_pointer_accel_profile_set(Ecore_Drm2_Device *device, uint32_t profile);
296
297/**
287 * Set pointer value rotation 298 * Set pointer value rotation
288 * 299 *
289 * @param device 300 * @param device
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 0c633b95c4..21963c98fb 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -783,6 +783,14 @@ ecore_drm2_device_pointer_accel_speed_set(Ecore_Drm2_Device *device, double spee
783} 783}
784 784
785EAPI void 785EAPI void
786ecore_drm2_device_pointer_accel_profile_set(Ecore_Drm2_Device *device, uint32_t profile)
787{
788 EINA_SAFETY_ON_NULL_RETURN(device);
789
790 elput_input_pointer_accel_profile_set(device->em, NULL, profile);
791}
792
793EAPI void
786ecore_drm2_device_window_set(Ecore_Drm2_Device *device, unsigned int window) 794ecore_drm2_device_window_set(Ecore_Drm2_Device *device, unsigned int window)
787{ 795{
788 EINA_SAFETY_ON_NULL_RETURN(device); 796 EINA_SAFETY_ON_NULL_RETURN(device);