You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just found your project, and it looks pretty cool so I thought I'd give a couple of suggestions:
It looks like there is a python package that contains compiled libusb binaries for major operating systems, and I have tested it to work out of the box on windows 10 with no separate installation needed. One caveat is that it seemed to require pyusb to be installed before it would enumerate all my usb devices, but it looks like you are using that already so likely not a problem.
I would highly recommend using some sort of virtual environment system for python, as this really helps with dependency management and version control, for making sure each user that installs your software has the same intended behavior. My preferred choice is poetry, but there are several options, none of which I could confidently say is the best.
Here is a custom enum definition that encapsulates the length field within DeviceInfoType:
You can still use the enum member as before to retrieve the index as an int, but now if you call DeviceInfoType.DEV_INFO_GET_PN.length, it will retrieve the length instead.
Hope this helps!
The text was updated successfully, but these errors were encountered:
Hi, I just found your project, and it looks pretty cool so I thought I'd give a couple of suggestions:
You can still use the enum member as before to retrieve the index as an int, but now if you call
DeviceInfoType.DEV_INFO_GET_PN.length
, it will retrieve the length instead.Hope this helps!
The text was updated successfully, but these errors were encountered: