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.

Dependencies:   mbed

Auto generated API documentation and code listings for USBKeyboardMouse_with_String_Descriptor


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]