greatscottgadgets / facedancer

Implement your own USB device in Python, supported by a hardware peripheral such as Cynthion or GreatFET
BSD 3-Clause "New" or "Revised" License
785 stars 119 forks source link

HIDReportDescriptor: return raw bytes when available #128

Closed jalmeroth closed 5 days ago

jalmeroth commented 2 weeks ago

Hi there :wave:,

I would like to utilize the HIDReportDescriptor class by initializing it with raw bytes. This PR checks for raw bytes being available and returns them first or will fall back to converting the descriptor object.

Thank you & best regards, Jan

antoinevg commented 5 days ago

Thank you!