Motion and device orientation (Windows Runtime apps)
This section provides info about developing an app that uses input from motion sensors. These sensors can include accelerometers, inclinometers, compasses and gyrometers.
There are two categories of apps: simple or complex. Each has its own requirements and recommended sensors.
|App category||App characteristics||App example||App requirements||Recommended sensors|
|Simple||Requires accelerometer input.||Labyrinth game||App applies changes in velocity to a moving object||Accelerometer and possibly inclinometer|
|Complex||Requires all three motion sensors and all degrees of freedom||Auto-racing game, augmented-reality app, first-person shooter game||App applies data from multiple sensors to adjust the user’s perspective.||If available, the OrientationSensor projection is recommended; if not available, you may combine the accelerometer, gyrometer, and compass to obtain similar results.|