summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_private.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_private.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_private.h')
-rw-r--r--src/lib/elput/elput_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h
index 7d4909a5d9..6b253d2fae 100644
--- a/src/lib/elput/elput_private.h
+++ b/src/lib/elput/elput_private.h
@@ -229,6 +229,9 @@ struct _Elput_Device
229 229
230 Eina_Bool left_handed : 1; 230 Eina_Bool left_handed : 1;
231 Eina_Bool key_remap : 1; 231 Eina_Bool key_remap : 1;
232 Eina_Bool swap : 1;
233 Eina_Bool invert_x : 1;
234 Eina_Bool invert_y : 1;
232}; 235};
233 236
234struct _Elput_Manager 237struct _Elput_Manager