ecore-drm2: Add API function to set pointer rotation
authorChris Michael <cp.michael@samsung.com>
Thu, 8 Jun 2017 13:23:17 +0000 (09:23 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 8 Jun 2017 14:03:36 +0000 (10:03 -0400)
commitb7c7ce4ce0a6a6f87decdfc79cd53aa80bb13497
treec4c716affa0f20b19586d3ece6853a80fc2c4535
parent26af19b543e313cdf1756cc1d158dca9d8cef02e
ecore-drm2: Add API function to set pointer rotation

This patch adds a new API function which can be used to swap x & y
pointer axis and invert them according to rotation angle. Mouse input
events occur according to canvas coordinates so this can be used when
a canvas is rotated.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm2/Ecore_Drm2.h
src/lib/ecore_drm2/ecore_drm2_device.c