Commit 40e49496 authored by Alexander Volkov's avatar Alexander Volkov
Browse files

xcb: Take into account the orientation of touch points

Add support for ABS_MT_ORIENTATION value. Linux kernel multi-touch
protocol allows it to be in a wide range:
https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt

,
but we need only to know whether the touch point rect is rotated
by 90 degress. So adjust the angle to the closest axis.

Change-Id: Ie20725dc4bef509e2f9b19571efc69502d00c019
Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@theqtcompany.com>
parent 10bf53ae
No related merge requests found
Showing with 40 additions and 5 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment