forked from enlightenment/efl
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
This commit is contained in:
parent
ebc84e82ac
commit
72f9a94188
|
@ -310,6 +310,17 @@ EAPI void ecore_drm2_device_pointer_accel_profile_set(Ecore_Drm2_Device *device,
|
|||
*/
|
||||
EAPI Eina_Bool ecore_drm2_device_pointer_rotation_set(Ecore_Drm2_Device *device, int rotation);
|
||||
|
||||
/**
|
||||
* Enable or disable pointer tap-to-click
|
||||
*
|
||||
* @param device
|
||||
* @param enabled
|
||||
*
|
||||
* @ingroup Ecore_Drm2_Device_Group
|
||||
* @since 1.22
|
||||
*/
|
||||
EAPI void ecore_drm2_device_touch_tap_to_click_enabled_set(Ecore_Drm2_Device *device, Eina_Bool enabled);
|
||||
|
||||
/**
|
||||
* Set info to be used on keyboards
|
||||
*
|
||||
|
|
|
@ -782,6 +782,14 @@ ecore_drm2_device_pointer_accel_profile_set(Ecore_Drm2_Device *device, uint32_t
|
|||
elput_input_pointer_accel_profile_set(device->em, NULL, profile);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ecore_drm2_device_touch_tap_to_click_enabled_set(Ecore_Drm2_Device *device, Eina_Bool enabled)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN(device);
|
||||
|
||||
elput_input_touch_tap_to_click_enabled_set(device->em, NULL, enabled);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ecore_drm2_device_window_set(Ecore_Drm2_Device *device, unsigned int window)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue