summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-14 08:48:37 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-14 09:18:14 -0500
commit68e1c9e0a008497fe42d43c8908b84810bf06a78 (patch)
tree6d958c66e77a46bc6e507187a07307a9be34ff07 /src/lib/elput/Elput.h
parent6eb34e2199e45a3f8c0784206d82746ae5face07 (diff)
elput: Add API functions to enable/disable dwt support on touchpads
This patch adds API functions to get/set if dwt (disable-while-typing) is enabled on a touchpad. @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.h30
1 files changed, 28 insertions, 2 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index edbd496d9f..c69e0b4703 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -429,7 +429,7 @@ EAPI void elput_input_pointer_accel_profile_set(Elput_Manager *manager, const ch
429/** 429/**
430 * @defgroup Elput_Touch_Group Configuration of touch devices 430 * @defgroup Elput_Touch_Group Configuration of touch devices
431 * 431 *
432 * Functions related to configuration of touch devic 432 * Functions related to configuration of touch devices
433 */ 433 */
434 434
435/** 435/**
@@ -467,7 +467,7 @@ EAPI Eina_Bool elput_touch_drag_enabled_get(Elput_Device *device);
467 * tap-and-drag will immediately stop the drag. 467 * tap-and-drag will immediately stop the drag.
468 * 468 *
469 * @param device 469 * @param device
470 * @param enable 470 * @param enabled
471 * 471 *
472 * @return EINA_TRUE on sucess, EINA_FALSE otherwise 472 * @return EINA_TRUE on sucess, EINA_FALSE otherwise
473 * 473 *
@@ -488,6 +488,32 @@ EAPI Eina_Bool elput_touch_drag_lock_enabled_set(Elput_Device *device, Eina_Bool
488 */ 488 */
489EAPI Eina_Bool elput_touch_drag_lock_enabled_get(Elput_Device *device); 489EAPI Eina_Bool elput_touch_drag_lock_enabled_get(Elput_Device *device);
490 490
491/**
492 * Enable or disable touchpad dwt (disable-while-typing) feature. When enabled, the
493 * device will be disabled while typing and for a short period after.
494 *
495 * @param device
496 * @param enabled
497 *
498 * @return EINA_TRUE on success, EINA_FALSE otherwise
499 *
500 * @ingroup Elput_Touch_Group
501 * @since 1.19
502 */
503EAPI Eina_Bool elput_touch_dwt_enabled_set(Elput_Device *device, Eina_Bool enabled);
504
505/**
506 * Get if touchpad dwt (disable-while-typing) is enabled.
507 *
508 * @param device
509 *
510 * @return EINA_TRUE if enabled, EINA_FALSE otherwise
511 *
512 * @ingroup Elput_Touch_Group
513 * @since 1.19
514 */
515EAPI Eina_Bool elput_touch_dwt_enabled_get(Elput_Device *device);
516
491# endif 517# endif
492 518
493# undef EAPI 519# undef EAPI