diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-07-28 14:56:18 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-07-31 12:21:19 +0200 |
commit | b48febd568537793405bc103fb0f1eb65ef9ebdc (patch) | |
tree | 67ed46ef919830ad37a548c9c3b4d2dace20c478 /examples/ipc | |
parent | 9a096cba223936c81c2c3392265681c78e63617e (diff) |
OS X: correct tablet stylus rotation to range -180..180 degrees
When the user holds the Wacom Art Pen straight, rotation is zero;
when turning it counter-clockwise, it should have a negative angle,
whereas the driver sends a positive angle;
when turning it clockwise it should have a positive angle up to 180,
whereas the driver sends 360 going downwards towards 180.
These corrections make the angle reading consistent between Linux,
Windows and OS X.
Task-number: QTBUG-39570
Change-Id: I7a57cc1fb56d4f7128ca1add10aff2597f29c507
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'examples/ipc')
0 files changed, 0 insertions, 0 deletions