Writing HID feature reports

When a sensor application requests an update to a sensor’s report interval or a change in its sensitivity, the Sensor class extension notifies the driver. The driver packages the request into a HID feature report and forwards it to the sensor. For the accelerometer, the method that forwards the report to the sensor is CAccelerometer::UpdateAccelerometerPropertyValues. A method with a similar name in each object file performs similar work for each corresponding sensor.

Related topics

The Sensor Diagnostic Tool
The Sensors HID Driver Sample
Writing a Sensor Device Driver



Send comments about this topic to Microsoft

Build date: 11/29/2012

© 2015 Microsoft