Comment 0 for bug 1398806

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

The current back-end being used for QtSensors doesn't support the Gyroscope sensor found in most modern phones (including krillin and mako). Gyroscope readings are needed for most virtual reality and augmented reality applications, as well as being useful for games using device movement for input.

Steps to reproduce:

1) Run following QML:

import QtSensors 5.0
import Ubuntu.Components 1.1

MainView {
        Gyroscope {
            onReadingChanged: {
                console.log("Reading: " + reading.x + ", " + reading.y + ", " + reading.z);
            }
        }
}

Expected result:

 Gyroscope readings should be output on the console

Actual result:

 No output.