I am making some SimPit panels and SimRacing devices, and I've run into an annoying issue. I have multiple Arduinos (Leonardos and ProMicros) that show up as the same "Controller Names" (See Image)
EDIT: In the Game Controllers (joy.cpl) windows of Windows 10, where does the name "Arduino Leonardo" come from?, so that I can rename each, so they show up listed as something different like: Leonardo 1, Leonardo 2, Leonardo 3?
I imagine this is a change to the boot-loader and nothing to do with anything via Arduino IDE?
Thank you for your time, and let me know if more info/explanation is needed.
1 Answer 1
Windows is likely assigning the inbox driver to use based on the VID/PID of the USB device. Take care changing those values, as you may not be able to easily reprogram the devices.
There is a Device Firmware Update (DFU) technique where if a pin is low at startup / USB init, the VID/PID are returned as different values
-
Meaning I should setup a "board" with the changed VID/PID in arduino IDE? DFU if you mean the vulgar acronym, I can do that ... I am that ;)FedaykinWolf– FedaykinWolf2021年12月26日 03:50:36 +00:00Commented Dec 26, 2021 at 3:50
-
Certainly not the vulgar term. I was referring to Device Firmware Update (DFU). If you setup the board(s) to use a VID/PID that the inbox joy stick driver recognized, then Windows will recognize the devices as such. The key to this is being able to make sure that you can still get the Arduino IDE to recognize the board as well. I don't have any leonardo boards, but I have done this with one of the other Arduino boards... though it was some time ago.Nik– Nik2021年12月27日 15:25:07 +00:00Commented Dec 27, 2021 at 15:25
-
Correction: The project I was thinking of emulated a keyboard not a joy stickNik– Nik2021年12月27日 15:41:18 +00:00Commented Dec 27, 2021 at 15:41
-
Haha lol DFU is permanently ruined for acronyms, ill never see beyond the vulgar one now.. Thanks for all the infoFedaykinWolf– FedaykinWolf2022年01月02日 21:50:17 +00:00Commented Jan 2, 2022 at 21:50
bcdDevice
field to some number, such as 4 .... edit theinf
file to matchVID/PID/REV
... choose REV = 4 ... windows should hopefully detect Leonardo ... next, change REV to 5 ... if windows detects an unknown device, then you have a way to distinguish Leonardos