Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QAccelerometer changes mode, but values are same.



  • Hello!
    I dig sensors on mobile phone.
    I try to change acceleration mode viasetAccelerationMode. After changing mode accelerationMode returns correct mode (if I set "user" mode, it returns "user"). The problem is that acceleration values stay same as they were before mode changing (for example, acceleration across z axis is about 9.8m/s^2 - same as in "combined" mode).
    I wonder is it issue is phone specific? Is it possible to get "user" acceleration mode if my phone has no gyroscope sensor?


Log in to reply