PythonUSBIP
PythonUSBIP copied to clipboard
Endianness
I think in handle_get_descriptor(), vendorID and productID (and maybe some other things) need to have their endianness reversed.
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