When we flash the HID keyboard or HID mouse code to RP2040 controller , in the device manager it will enumerate as HID keyboard device and HID-compliant mouse. It will also enumerate as USB serial device(COM port )
please provide any method to make RP2040 controller that should appear as HID device not as USB serial device.
In Arduino Leonardo controller same thing I have done with the support of this link
" https://github.com/arduino/Arduino/issues/6387 ". Similarly is there any method to disable the serial port in the device manager?
I have seen that Serial.end( ) will do the same but will also disable the serial communication. I need serial port for passing the commands from my main controller to RP2040 controller but need to disable the listing in device manager.
How to reproduce ?
Upload HID keyboard or mouse code to the controller and check on the device manager to see whether it is listed as hid device as well as a COM port device.
Operating System
Windows 11
Arduino IDE version
Arduino.1.8.19
Board
RP2040
ArduinoCore version
RP2040 by Earle F.Philhower .2.7.3
TinyUSB Library version
2.0.2
Sketch as ATTACHED TXT
[hid_boot_keyboard_sample.txt](https://github.com/adafruit/Adafruit_TinyUSB_Arduino/files/11232596/hid_boot_keyboard_sample.txt)
Compiled Log as ATTACHED TXT
What happened ?
When we flash the HID keyboard or HID mouse code to RP2040 controller , in the device manager it will enumerate as HID keyboard device and HID-compliant mouse. It will also enumerate as USB serial device(COM port )
please provide any method to make RP2040 controller that should appear as HID device not as USB serial device. In Arduino Leonardo controller same thing I have done with the support of this link " https://github.com/arduino/Arduino/issues/6387 ". Similarly is there any method to disable the serial port in the device manager?
I have seen that Serial.end( ) will do the same but will also disable the serial communication. I need serial port for passing the commands from my main controller to RP2040 controller but need to disable the listing in device manager.
How to reproduce ?
Upload HID keyboard or mouse code to the controller and check on the device manager to see whether it is listed as hid device as well as a COM port device.
Debug Log
No response
Screenshots
No response