10.07.2015 Views

HID Usage Tables Document 1.1 - C. Scott Ananian

HID Usage Tables Document 1.1 - C. Scott Ananian

HID Usage Tables Document 1.1 - C. Scott Ananian

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

96 Universal Serial Bus <strong>HID</strong> <strong>Usage</strong> <strong>Tables</strong>A.8 A Device with a DisplayThe following example is of a 2x16-character display device. The device uses one Feature, one Input, andtwo Output reports.A Feature report is declared for identifying fixed features of the display and display status. All of theFeature report’s fields are constants.The Character Spacing usage is not declared, so it can be assumed that the respective inter-character spacingis forced by the pixel layout of the display, and any downloaded font characters do not have to include it.In this example, the Character Height and Width are fixed. The fields are declared in the Report descriptorand the actual values are reported when the Feature report is read. For example, the Character Height andWidth fields will always return 7 and 5, respectively.Uploading of the font is not supported by this display so there is no Font Report Input report.<strong>Usage</strong>Page(Alphanumeric Display),<strong>Usage</strong>(Alphanumeric Display),Logical Minimum(0),Collection(Application),The first report defined is a Feature report with seven fields. The Rows, Columns, Character Height andWidth fields are Static Values (SV) and their report size is set to 5 to demonstrate how the bit packing takesplace in a report. Standard Character Set, Data Read Back and Vertical Scroll are Static Flags (SF).<strong>Usage</strong>(Display Attributes Report),Collection(Logical),<strong>Usage</strong>(Rows), ; Constant = 2<strong>Usage</strong>(Columns), ; Constant = 16<strong>Usage</strong>(Character Width), ; Constant = 5<strong>Usage</strong>(Character Height), ; Constant = 7ReportID(1),Logical Maximum(31),ReportSize(5), ReportCount(4),Feature(Constant, Variable, Absolute), ; Four 5-bit fieldsReportSize(1), ReportCount(3),Logical Maximum(1),<strong>Usage</strong>(ASCII Character Set), ; Constant = 1<strong>Usage</strong>(Data Read Back), ; Constant = 1<strong>Usage</strong>(Vertical Scroll), ; Constant = 1Feature(Constant, Variable, Absolute), ; Three 1-bit fieldsReportCount(1),Feature(Constant, Variable, Absolute),End Collection(),; 1-bit padVersion <strong>1.1</strong> April 8, 1999

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!