summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndre de la Rocha <andre.rocha@qt.io>2017-12-14 04:45:08 +0100
committerLorn Potter <lorn.potter@gmail.com>2017-12-27 22:03:19 +0000
commit032c1e73ef289e64ee38c77faf26c46c74312043 (patch)
tree132afe7e83ef6f3213b0b1553d0de9c821745000 /tests
parent93ab7107ebae0ca72c1632b665a199973ea278be (diff)
Fix device orientation angles provided by QTiltSensor
The device orientation angles provided by QTiltSensor were being incorrectly calculated from the accelerator sensor measurements, in all supported devices. This resulted in a restricted range of values reported for the roll angle, thus making non-equivalent device orientations, like a tablet lying horizontally with the screen up, and the flipped configuration with the screen down, report equivalent orientation angles, making it impossible to distinguish between them. Task-number: QTBUG-57898 Change-Id: I82c1d4d2c1eab435f389b89dbb537fa7b349cbf1 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions