Support HID v1.11 Items (Main, Global and Local)

#1 · closed · 2 comments

View on GitHub ↗

NZSmartie

`Item` class need to represent HID (Short) Items as in HID spec version 1.11 - Main Items - [x] `Input` - [x] `Output` - [x] `Feature` - [x] `Collection` - [x] `End Collection` - Global Items - [x] `Usage Page` - [x] `Logical Minimum` - [x] `Logical Maximum` - [x] `Physical Minimum` - [x] `Physical Maximum` - [x] `Unit Exponent` - [x] `Unit` - [x] `Report Size` - [x] `Report Id` - [x] `Report Count` - [x] `Push` - [x] `Pop` - Local Items - [x] `Usage` - [x] `Usage Minimum` - [x] `Usage Maximum` - [x] `Designator Index` - [x] `Designator Maximum` - [x] `Designator Minimum` - [x] `String Index` - [x] `String Minimum` - [x] `String Maximum` - [ ] `Delimiter`

Comments

NZSmartie

`Usage`s are now accessible through `UsagePage`s. e.g. `hidparser.UsagePage.GenericDesktop.mouse`

NZSmartie

Due to the complexity of supporting Delimiters, this may be held off until later during alpha development