QML Accelerometer is always (useless) dummy.accelerometer
Bug #1131765 reported by
Jonathan Booth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtsensors-opensource-src (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Tested on gnex, nex4 phones. Using QML to create the Accelerometer, the identified device is "dummy.
Snippet:
Row {
}
}
}
id: accel
}
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
affects: | ubuntu-ui-toolkit → qtsensors-opensource-src (Ubuntu) |
Changed in qtsensors-opensource-src (Ubuntu): | |
assignee: | Zoltan Balogh (bzoltan) → nobody |
To post a comment you must log in.
The dummy sensor plugin is useless by design, and emulates what an accelerometer would be like in a desktop computer.
Noted from source code:
// Your average desktop computer doesn't move :)
It could probably be changed to provide some easy sine wave data, but I am not sure it's worth it.
Also note from the initial commit message (in qtmobility):
Generic is for things like "orientation based on accelerometer".
Dummy is for things like "give me an accelerometer on my desktop for testing".