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
Tobias Müller
c47d36004a
Add UAC2 FeatureUnitDescriptor
3 years ago
Tobias Müller
2737c652e7
Rework UAC/MIDI
* Split UAC from MIDI
* Split UAC into UAC1, UAC2, UAC3 as descriptors and
other constants are often defined differently
3 years ago
Tobias Müller
5bb7742d41
Don't count interfaces with alternate settings multiple times
3 years ago
Dave Marples
e7f740afe3
Minimal change to allow support of HID descriptors
3 years ago
Mike Walters
10b2b79b0a
descriptors: pass descriptor collection to ConfigurationDescriptorEmitter
This allows for downstream descriptor emitters to add indexed strings.
fixes #15
3 years ago
Hans Baier
87eb88c6c7
add MIDI Streaming Descriptors
3 years ago
Hans Baier
b38334f69b
implement useable subset of USB Audio Class 2.0
4 years ago
Katherine Temkin
c10346f2ce
usb3: add some SuperSpeed BOS device capability descriptors
4 years ago
Katherine Temkin
928e5db008
descriptors: extend to include some SuperSpeed content
4 years ago
Josh Koike
4a660f83ce
Change descriptor_type default check
4 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
Katherine Temkin
26c9cf0e01
types,emitters: add basic CDC-ACM descriptors and emitters
4 years ago
dokthar
a922fe07f9
emitters: add test for automatic language descriptor
4 years ago
dokthar
5b9c2e6656
emitters: fix for automatic language descriptors
4 years ago
Kate Temkin
9634fc940b
emitters: add support for language string descriptors
4 years ago
Kate Temkin
21ba0397f7
fix issues with descriptor length field & make emitters easier to access
4 years ago
Kate Temkin
4f26131509
add examples
4 years ago
Kate Temkin
7672fb5221
add complex emitters for building USB descriptors
4 years ago
Kate Temkin
708f838dc1
commit first working code, with descriptor parsers/emitters
4 years ago