John-Mark Gurney
0aa73a849d
refactor a bit and add tests... incomplete...
I've kinda given up on this as I can't seem to make construct behave
how I think it should.. The ifthenelse isn't bidirectional, and not
sure how to fix it..
2 years ago
Josh Koike
45b7a894fa
Move descriptor_type argument to avoid API breakage
4 years ago
Josh Koike
f292dc9f86
Fix typo in `add_report_raw`
4 years ago
Josh Koike
bbc5f67a73
Fix some missed refactoring
4 years ago
Josh Koike
9e10dbddde
Add documentation to HID descriptor emitter
4 years ago
Josh Koike
8417f3684c
Add add_report_raw method to append raw items/bytes-likes to HID descriptor
4 years ago
Josh Koike
cbe13dd19b
Change report_enum -> report_prefix to clarify purpose
Change report_enum argument to report_prefix to clarify that it should
be a usb_protocol.types.descriptors.hid.HIDPrefix enum element.
4 years ago
Josh Koike
2db2205324
Change HIDPrefixes -> HIDPrefix
De-plural-ify HIDPrefixes to match common Enum naming conventions
4 years ago
Josh Koike
2e7f95f858
Rename to clarify HIDDescriptor report item methods
Renamed to clarify that the HIDDescriptor convenience functions add
report items, not full reports.
4 years ago
Josh Koike
cef2b8b83a
Add HID descriptors
4 years ago