PythonUSBIP icon indicating copy to clipboard operation
PythonUSBIP copied to clipboard

Endianness

Open arpruss opened this issue 7 years ago • 1 comments

I think in handle_get_descriptor(), vendorID and productID (and maybe some other things) need to have their endianness reversed.

arpruss avatar Aug 29 '18 03:08 arpruss

The USB spec needs little-endian bytes, but because the device descriptor is custom, you are the one who gets to set the endianness accordingly. It's possible however that I overlooked this and used big-endian in the descriptor I made for the wiimotes

frazew avatar Sep 05 '18 18:09 frazew