summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-14 09:04:52 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-14 09:18:14 -0500
commit73a074498a18dfe5217c3eedec8be9cf1388a1dd (patch)
tree6eb6be180dd0add08f73c2a9d024b297b0dee90c /src/lib/elput/Elput.h
parent0f81e32433d1dedf5daf128ece3423f2b2a56098 (diff)
elput: Add API functions to get/set touchpad click method
This patch adds API functions to get or set the click method used on touch devices. The click method defines when to generate software emulated buttons @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 40bc2d920b..9429bdb2f9 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -540,6 +540,31 @@ EAPI Eina_Bool elput_touch_scroll_method_set(Elput_Device *device, int method);
540 */ 540 */
541EAPI int elput_touch_scroll_method_get(Elput_Device *device); 541EAPI int elput_touch_scroll_method_get(Elput_Device *device);
542 542
543/**
544 * Set the button click method for a device. The button click method defines
545 * when to generate software emulated buttons
546 *
547 * @param device
548 * @param method
549 *
550 * @return EINA_TRUE on success, EINA_FALSE otherwise
551 *
552 * @ingroup Elput_Touch_Group
553 * @since 1.19
554 */
555EAPI Eina_Bool elput_touch_click_method_set(Elput_Device *device, int method);
556
557/**
558 * Get the current button click method for a device
559 *
560 * @param device
561 *
562 * @return The current button click method
563 *
564 * @ingroup Elput_Touch_Group
565 * @since 1.19
566 */
567EAPI int elput_touch_click_method_get(Elput_Device *device);
543 568
544# endif 569# endif
545 570