summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-08 09:21:16 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-08 10:03:36 -0400
commit26af19b543e313cdf1756cc1d158dca9d8cef02e (patch)
tree46030c6f87ad6bfd1b613b9940e0ae43274bcc73 /src/lib/elput/Elput.h
parent75b5310781bc4c89f8accc94eecae83e3259e422 (diff)
elput: Add API function to swap dx & dy axis from pointer motion event
Small patch which adds an API function that can be called to swap x and y axis and invert them according to rotation angle. @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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index f52815038e..c434a12859 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -354,6 +354,19 @@ EAPI Eina_Bool elput_input_pointer_left_handed_set(Elput_Manager *manager, const
354EAPI void elput_input_pointer_max_set(Elput_Manager *manager, int maxw, int maxh); 354EAPI void elput_input_pointer_max_set(Elput_Manager *manager, int maxw, int maxh);
355 355
356/** 356/**
357 * Set pointer value rotation
358 *
359 * @param manager
360 * @param rotation
361 *
362 * @return EINA_TRUE on success, EINA_FALSE otherwise
363 *
364 * @ingroup Elput_Input_Group
365 * @since 1.20
366 */
367EAPI Eina_Bool elput_input_pointer_rotation_set(Elput_Manager *manager, int rotation);
368
369/**
357 * Calibrate input devices for given screen size 370 * Calibrate input devices for given screen size
358 * 371 *
359 * @param manager 372 * @param manager