NZSmartie / PyHIDParser

A HID descriptor parser written in Python 3
MIT License
23 stars 5 forks source link

Can a Report ID be reused in multiple Application Collections? #5

Open NZSmartie opened 8 years ago

NZSmartie commented 8 years ago

For now, I'm going with the assumption that, although a Report ID can be reused, can not be reused in a sibling application collection due to complexity.

Edit: Going to allow this, turns out to be easier to implement if it is assumed that Report IDs can be reused in multiple application collections

HID Spec v1.11

6.2.2.7 Global Items

Remarks: ...

  • The same Report ID value can be encountered more than once in a report descriptor. Subsequently declared Input, Output, or Feature main items will be found in the respective ID/Type (Input, Output, or Feature) report.

    8.3 Report Constraints

Each top level collection must be an application collection and reports may not span more than one top level collection