USBDevice library fork to add multi-function (e.g. Keyboard(HID) + Virtual COM Port(CDC)) usb support.
Fork of USBDevice by
Diff: USBHID/USBMouse.h
- Revision:
- 70:7e8e3be9f0e3
- Parent:
- 25:7c72828865f3
--- a/USBHID/USBMouse.h Tue Sep 11 15:17:01 2018 +0300 +++ b/USBHID/USBMouse.h Thu Oct 04 15:43:40 2018 +0300 @@ -118,11 +118,11 @@ * */ USBMouse(MOUSE_TYPE mouse_type = REL_MOUSE, uint16_t vendor_id = 0x1234, uint16_t product_id = 0x0001, uint16_t product_release = 0x0001): - USBHID(0, 0, vendor_id, product_id, product_release, false) + USBDevice(vendor_id, product_id, product_release), USBHID(0, 0, vendor_id, product_id, product_release, false) { button = 0; this->mouse_type = mouse_type; - connect(); + // connect(); XXX Removed from here to support multi-function usb devices }; /**