Hi folks,
I would like to simulate a specific USB "volume knob" product as part of a hardware test harness. I bought an ItsyBitsy M4 Express and was hoping to use the HID support in CircuitPython. I have used the rotary knob example and it works quite well.
I then realized that the product/vendor codes are set in C code and are not configurable from Python.
What is the next most easy ;) way for me to get the behavior I want?
Ihab
Simulating specific USB vendor/product code
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- danhalbert
- Posts: 4654
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Simulating specific USB vendor/product code
In CircuitPython 8.0.0 (now in beta), you can set the VID and PID and some strings:
https://docs.circuitpython.org/en/lates ... tification
https://docs.circuitpython.org/en/lates ... tification
- ihab
- Posts: 62
- Joined: Tue May 17, 2016 5:20 pm
Re: Simulating specific USB vendor/product code
Oh cool thanks! I'll try that right away!
Ihab
Ihab
Please be positive and constructive with your questions and comments.