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.
Files at revision 0:f97b1f255167
Name | Size | Actions |
---|---|---|
[up] | ||
USBKeyboard.cpp | 205 | Revisions Annotate |
USBKeyboard.h | 618 | Revisions Annotate |
USBMouse.cpp | 982 | Revisions Annotate |
USBMouse.h | 1216 | Revisions Annotate |
asciihid.h | 8026 | Revisions Annotate |
usbdc.cpp | 14370 | Revisions Annotate |
usbdc.h | 2256 | Revisions Annotate |
usbdevice.cpp | 13605 | Revisions Annotate |
usbdevice.h | 2795 | Revisions Annotate |
usbhid.cpp | 17039 | Revisions Annotate |
usbhid.h | 762 | Revisions Annotate |