---
topic: sample
description: "Demonstrates how to write a UMDF v2 sensor driver to output simple device orientation values."
languages:
- cpp
products:
- windows
- windows-wdk
---

# SimpleDeviceOrientationSensor

This sample shows you how to write a UMDF v2 sensor driver to output simple device orientation values.
