发明名称 Method and architecture for simplified communications with HID devices
摘要 A computer system in accordance with the invention includes a USB transport layer and an HID class driver implemented on top of the transport layer. A client program calls the class driver (either directly or indirectly) to obtain HID reports and report descriptors. Before returning the reports to calling programs, however, the HID class driver normalizes the reports by making them a uniform length and by adding report IDs to any reports that do not already have report IDs. A provided parser includes a descriptor parsing function and an item retrieval function. After obtaining a report descriptor, a client calls the descriptor parsing function with the report descriptor as an argument. The descriptor parsing function returns a data structure containing a parsed report description. The client stores the parsed report description and submits it, along with HID reports, to the item retrieval function. A particular usage specification is also provided as an argument to the item retrieval function. The item retrieval function searches the designated HID report, based on the parsed report description, and returns one or more data items from the report whose usage specifications match the usage specification submitted as an argument to the item retrieval function.
申请公布号 GB2330225(B) 申请公布日期 1999.09.29
申请号 GB19980016523 申请日期 1998.07.29
申请人 * MICROSOFT CORPORATION 发明人 KENNETH D * RAY
分类号 G06F13/10;G06F3/033;G06F3/038;G06F13/00;G06F13/38;(IPC1-7):G06F13/10 主分类号 G06F13/10
代理机构 代理人
主权项
地址