Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Microsoft > Windows

September 27th, 2011, 15:51 GMT · By

Windows 8 Accelerometer, Inclinometer, Compass, and Gyrometer

SHARE:

Adjust text size:


Windows 8
Enlarge picture
Tailored to next-generation form factors, Windows 8 will allow users to interact with their devices via a variety of input models, from the traditional mouse and keyboard to touch.

By extension, applications running in Windows 8 will also be NUI-friendly, as long as the devices themselves will permit it.

Essentially, when taking advantage of Windows 8’s natural user interface capabilities, developers will be able to incorporate motion-sensor input into their projects.

Those early Windows 8 adopters that require a bit of guidance from Microsoft can download this free whitepaper “Overview of motion and device orientation for Windows Developer Preview.”

“This paper provides information about writing apps that consume accelerometer, inclinometer, compass, and gyrometer input using the Sensor platform for Windows operating systems. In addition, it describes the use of the Orientation sensor (a fusion of multiple sensors). It assumes that the reader is familiar with the Sensor platform for Windows Developer Preview,” Microsoft reveals.

According to the software giant, devs can built simple apps, namely programs that leverage only one sensor out of what Windows 8 has available.

“Most simple applications rely on a single sensor, the accelerometer, as an input device. This application typically uses only one- or two-axes for input; but, it may also use the shake event as another input source. Simple applications may also incorporate an inclinometer,” the company explains.

However, undoubtedly there will also be developers wanting to make the best of all Windows 8 motion sensors, and they’ll need to build what Microsoft calls a complex app.

“A complex application relies primarily on the OrientationSensor projection when it’s available. This projection requires three sensors: an accelerometer, a gyrometer, and a magnetometer,” the software giant explained.

“When the OrientationSensor projection isn’t available, an application has several fallback options. One option is to rely on Euler angles derived from the accelerometer and the magnetometer data. Another option is to create an OrientationSensor projection on the fly by combining the accelerometer, gyrometer, and compass data within the application code.”

Windows 8 Developer Preview Build 8102 Milestone 3 (M3) is available for download here.

TELL US WHAT YOU THINK:

2,635 hits · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Windows 8 Is Windows 6.2

Windows 8 Compatibility Center Coming Up

Visual Studio 11 Developer Preview Release Notes

Windows 8 Developer Preview Downloads Beyond Build 8102

Windows 8 Developer Preview Build 8102 M3 Release Notes

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM