summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 fb1884be2d..fed477f56c 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -311,6 +311,17 @@ EAPI void ecore_drm2_device_pointer_accel_profile_set(Ecore_Drm2_Device *device,
311EAPI Eina_Bool ecore_drm2_device_pointer_rotation_set(Ecore_Drm2_Device *device, int rotation); 311EAPI Eina_Bool ecore_drm2_device_pointer_rotation_set(Ecore_Drm2_Device *device, int rotation);
312 312
313/** 313/**
314 * Enable or disable pointer tap-to-click
315 *
316 * @param device
317 * @param enabled
318 *
319 * @ingroup Ecore_Drm2_Device_Group
320 * @since 1.22
321 */
322EAPI void ecore_drm2_device_touch_tap_to_click_enabled_set(Ecore_Drm2_Device *device, Eina_Bool enabled);
323
324/**
314 * Set info to be used on keyboards 325 * Set info to be used on keyboards
315 * 326 *
316 * @param device 327 * @param device
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 9108db6ff8..b4ca722b22 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_profile_set(Ecore_Drm2_Device *device, uint32_t
783} 783}
784 784
785EAPI void 785EAPI void
786ecore_drm2_device_touch_tap_to_click_enabled_set(Ecore_Drm2_Device *device, Eina_Bool enabled)
787{
788 EINA_SAFETY_ON_NULL_RETURN(device);
789
790 elput_input_touch_tap_to_click_enabled_set(device->em, NULL, enabled);
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);