summaryrefslogtreecommitdiffstats
path: root/examples/widgets/mainwindows/mainwindow/qt.png
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2015-06-11 18:29:44 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2016-02-03 07:44:14 +0000
commit40e4949674eaf7ceb09f6d18479ead1a36b384fd (patch)
tree000dad81d42969b9278b7d66fd007ae3585abc4f /examples/widgets/mainwindows/mainwindow/qt.png
parent10bf53ae19836bfcac5d674f12c3915834878694 (diff)
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: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'examples/widgets/mainwindows/mainwindow/qt.png')
0 files changed, 0 insertions, 0 deletions