summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-14 08:59:56 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-14 09:18:14 -0500
commit0f81e32433d1dedf5daf128ece3423f2b2a56098 (patch)
tree13a273daa23c2c24a80207c00ccce0f331cbb15f /src/lib/elput/Elput.h
parent68e1c9e0a008497fe42d43c8908b84810bf06a78 (diff)
elput: Add API functions to get/set the scroll method for a touchpad
device This patch adds API functions which can be used to get or set the scroll method used for a given device. Scroll method defines when to generate scroll axis events @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.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index c69e0b4703..40bc2d920b 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -514,6 +514,33 @@ EAPI Eina_Bool elput_touch_dwt_enabled_set(Elput_Device *device, Eina_Bool enabl
514 */ 514 */
515EAPI Eina_Bool elput_touch_dwt_enabled_get(Elput_Device *device); 515EAPI Eina_Bool elput_touch_dwt_enabled_get(Elput_Device *device);
516 516
517/**
518 * Set the scroll method used for this device. The scroll method defines when
519 * to generate scroll axis events instead of pointer motion events.
520 *
521 * @param device
522 * @param method
523 *
524 * @return EINA_TRUE on success, EINA_FALSE otherwise
525 *
526 * @ingroup Elput_Touch_Group
527 * @since 1.19
528 */
529EAPI Eina_Bool elput_touch_scroll_method_set(Elput_Device *device, int method);
530
531/**
532 * Get the current scroll method set on a device
533 *
534 * @param device
535 *
536 * @return The current scroll method
537 *
538 * @ingroup Elput_Touch_Group
539 * @since 1.19
540 */
541EAPI int elput_touch_scroll_method_get(Elput_Device *device);
542
543
517# endif 544# endif
518 545
519# undef EAPI 546# undef EAPI