Simple reading/writing from/to a USB HID device in Python?
问题 I've got a fairly simple USB HID device that I've been trying to figure out how to read from and write to using Python. I've been able to read from it using PyWinUSB, but the problem comes in when I try to write to it. Trying to write to it makes things explode. For example: device = hid.HidDeviceFilter(vendor_id = 0x0003, product_id = 0x1001).get_devices()[0] This works fine. Then for reading raw data, which is all that I care about right now (I'll work with that once I can figure out how to