Based on USBKeyboardMouse example. I added USB String Descriptor so mbed reports itself to host not only with VID & PID but also with name of manufacturer, product name, serial number, configuration number and interface name. These can be changed to matching Yours in USBhid.cpp file on lines 88 - 122.
File List
asciihid.h [code] | |
main.cpp [code] | |
usbdc.cpp [code] | |
usbdc.h [code] | |
usbdevice.cpp [code] | |
usbdevice.h [code] | |
usbhid.cpp [code] | |
usbhid.h [code] | |
USBKeyboard.cpp [code] | |
USBKeyboard.h [code] | |
USBMouse.cpp [code] | |
USBMouse.h [code] |
Generated on Fri Jul 15 2022 16:43:53 by 1.7.2