This sample is an end-to-end solution that includes instructions for building a simple motion sensor and creating the accompanying firmware. In addition, the solution includes a sample WinRT app that demonstrates using the new HID API to monitor the sensor and control its input reports.
For more information, http://code.msdn.microsoft.com/windowsapps/Sample-motion-sensor-39bea694.
Available formats for this video:
Actual format may change based on video formats available and browser capability.