Share via


HID Data Indexes (Windows Embedded CE 6.0)

1/6/2010

The HID parser assigns a data index that uniquely identifies each usage described in a top-level collection's button capability arrays and value capability arrays. A data index is a zero-based array index that a HID client driver can use to access individual control data in a report. The parser assigns a unique set of data indexes to each report type supported by each top-level collection.

The following list shows how capability structures cross-reference usages and data indexes:

  • Each capability structure that describes a usage has its NotRange.Usage member set to identify the usage and its NotRange.DataIndex member set to the usage's corresponding data index.
  • Each capability structure that describes a usage range has its Range.UsageMin and Range.UsageMax members set to identify the usage range and its Range.DataIndexMin and Range.DataIndexMax members set to identify the usage range's corresponding data index range. Data index range specifies a consecutive sequence of data indexes, and the number of data indexes in a data index range is equal to the number of usages in a corresponding usage range.

See Also

Concepts

HID Driver Development Concepts
HID Report Interpretation