Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
63 <strong>HID</strong> <strong>Sensor</strong> <strong>Usage</strong>s<br />
3<br />
4<br />
Data Field 2 = 0x5343<br />
Table 10. Input Report with 2 separate scalar Data Fields of Report Size 16, Report Count 1<br />
Byte<br />
Bit Position in the byte<br />
Position 7 6 5 4 3 2 1 0<br />
0 Report ID = 0x12<br />
1 Data Field = ‘H’<br />
2 ‘e’<br />
3 ‘l’<br />
4 ‘l’<br />
5 ‘o’<br />
6 ‘\0’<br />
Table 11. Input Report with a single array Data Field of Report Size 8, Report Count 6<br />
(narrow character string “Hello”)<br />
Byte<br />
Bit Position in the byte<br />
Position 7 6 5 4 3 2 1 0<br />
0<br />
1<br />
2<br />
3<br />
Report ID = 0x74<br />
4<br />
5<br />
6<br />
7<br />
8<br />
Property = 0x00000000c4216527<br />
Table 12. Feature Report with single scalar Property of Report Size 64, Report Count 1<br />
Byte<br />
Bit Position in the byte<br />
Position 7 6 5 4 3 2 1 0<br />
0 Report ID = 0xa3<br />
1<br />
2<br />
Property 1 = 0x33<br />
3<br />
4<br />
5<br />
6<br />
Property 2 [0] = 0xFFFFFFFF<br />
7<br />
8<br />
9<br />
Property 2 [1] = 0x87654321<br />
Table 13. Feature Report with 2 Properties, one a scalar of Report Size 8, Report Count 1<br />
and one an array of Report Size 32, Report Count 2<br />
Appendices at the end of this document show examples of <strong>HID</strong> Report Descriptors for various types of<br />
sensors. For simplicity’s sake, most of these examples are silent about the use of Report IDs. The<br />
examples presume:<br />
A Report ID of zero for both the Input Reports and Feature Reports;<br />
All the Data Fields are packed as Items into a single Input Report;