summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-14 09:11:50 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-14 09:18:14 -0500
commitb27ebc6294af07c6a95eefdc8a910973a14fcdc1 (patch)
treed76171a32131148557ca70ba0be0b8e276d2d30b /src/lib/elput/Elput.h
parent73a074498a18dfe5217c3eedec8be9cf1388a1dd (diff)
elput: Add API functions to get/set if tap-to-click is enabled
This patch adds API functions to get or set if tap-to-click is enabled on a touchpad device @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 9429bdb2f9..b48caa12a3 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -566,6 +566,31 @@ EAPI Eina_Bool elput_touch_click_method_set(Elput_Device *device, int method);
566 */ 566 */
567EAPI int elput_touch_click_method_get(Elput_Device *device); 567EAPI int elput_touch_click_method_get(Elput_Device *device);
568 568
569/**
570 * Enable or disable tap-to-click on a given device
571 *
572 * @param device
573 * @param enabled
574 *
575 * @return EINA_TRUE on success, EINA_FALSE otherwise
576 *
577 * @ingroup Elput_Touch_Group
578 * @since 1.19
579 */
580EAPI Eina_Bool elput_touch_tap_enabled_set(Elput_Device *device, Eina_Bool enabled);
581
582/**
583 * Get if tap-to-click is enabled on a given device
584 *
585 * @param device
586 *
587 * @return EINA_TRUE if enabled, EINA_FALSE otherwise
588 *
589 * @ingroup Elput_Touch_Group
590 * @since 1.19
591 */
592EAPI Eina_Bool elput_touch_tap_enabled_get(Elput_Device *device);
593
569# endif 594# endif
570 595
571# undef EAPI 596# undef EAPI