diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2016-01-25 16:20:18 -0600 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-02-18 15:50:16 -0500 |
commit | ddc6962d775345ccb0eb4590486693efb3564075 (patch) | |
tree | f5679ecbde74256667077b0c607dea9ebe036144 /src/lib/ecore_drm/Ecore_Drm.h | |
parent | 4e953ecc4d83dae0f4360e1cb413a2a878617603 (diff) |
ecore_drm: Add pointer warping API
Adds a new API: ecore_drm_device_pointer_warp() which warps the pointer
to the specified location. All libinput seats with pointers are warped.
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r-- | src/lib/ecore_drm/Ecore_Drm.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h index 8d2787b187..ca11e96855 100644 --- a/src/lib/ecore_drm/Ecore_Drm.h +++ b/src/lib/ecore_drm/Ecore_Drm.h | |||
@@ -836,6 +836,20 @@ EAPI void ecore_drm_output_gamma_set(Ecore_Drm_Output *output, uint16_t size, ui | |||
836 | EAPI void ecore_drm_device_pointer_xy_get(Ecore_Drm_Device *dev, int *x, int *y); | 836 | EAPI void ecore_drm_device_pointer_xy_get(Ecore_Drm_Device *dev, int *x, int *y); |
837 | 837 | ||
838 | /** | 838 | /** |
839 | * Warp the pointer position of Ecore_Drm_Device | ||
840 | * | ||
841 | * This function will set the pointer position of Ecore_Drm_Device | ||
842 | * | ||
843 | * @param dev The Ecore_Drm_Device to set pointer position for | ||
844 | * @param x The new x co-ordinate | ||
845 | * @param y The new y co-ordinate | ||
846 | * | ||
847 | * @ingroup Ecore_Drm_Device_Group | ||
848 | * @since 1.18 | ||
849 | */ | ||
850 | EAPI void ecore_drm_device_pointer_warp(Ecore_Drm_Device *dev, int x, int y); | ||
851 | |||
852 | /** | ||
839 | * Get the list of drm devices which are allocated. | 853 | * Get the list of drm devices which are allocated. |
840 | * | 854 | * |
841 | * @return Eina_List of drm devices, NULL otherwise | 855 | * @return Eina_List of drm devices, NULL otherwise |