summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-10 15:12:53 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-10 15:12:53 -0400
commitfa5abb2967ca1a14770c5270b13200412a0fd345 (patch)
treead02d2cb6699e28359d82d474f6a7974a69cf163 /src/lib/elput/Elput.h
parent3954aa5518b7cc05f4c8bc86683d349a00dffe47 (diff)
elput: Add API function to set max allowed pointer position
This patch adds an API function that can be used to restrict mouse movement from going outside a screen @feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 87d3462466..dfddf78723 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -298,6 +298,18 @@ EAPI void elput_input_pointer_xy_set(Elput_Manager *manager, const char *seat, i
298EAPI const Eina_List *elput_input_devices_get(Elput_Seat *seat); 298EAPI const Eina_List *elput_input_devices_get(Elput_Seat *seat);
299 299
300/** 300/**
301 * Set the maximum position of any existing mouse pointers
302 *
303 * @param manager
304 * @param maxw
305 * @param maxh
306 *
307 * @ingroup Elput_Input_Group
308 * @since 1.18
309 */
310EAPI void elput_input_pointer_max_set(Elput_Manager *manager, int maxw, int maxh);
311
312/**
301 * @defgroup Elput_Device_Group 313 * @defgroup Elput_Device_Group
302 * 314 *
303 * Functions that deal with input devices. 315 * Functions that deal with input devices.