summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_device.c
diff options
context:
space:
mode:
authorMichaƫl Bouchaud (yoz) <yoz@efl.so>2019-01-31 08:41:04 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-01-31 08:41:04 -0500
commit72f9a94188464c22649f75b74de858f1f395d983 (patch)
treedd8509bb6c52d4cfd8e01a623a635a98fbfc4674 /src/lib/ecore_drm2/ecore_drm2_device.c
parentebc84e82acbec68013815bbc88b90173f0d53438 (diff)
ecore_drm2: Add API to allow settings tap-to-click on pointer device
Summary: Add a way to configure pointer device with tap-to-click features. @feature Depends on D7843 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7847
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c8
1 files changed, 8 insertions, 0 deletions
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);