change USB descriptor to misc, for windows to recognize
This commit is contained in:
parent
ae16710fc0
commit
880916166b
|
@ -39,9 +39,9 @@ tusb_desc_device_t const desc_device =
|
|||
.bLength = sizeof(tusb_desc_device_t),
|
||||
.bDescriptorType = TUSB_DESC_DEVICE,
|
||||
.bcdUSB = USB_BCD,
|
||||
.bDeviceClass = TUSB_CLASS_HID,
|
||||
.bDeviceSubClass = HID_SUBCLASS_NONE,
|
||||
.bDeviceProtocol = HID_ITF_PROTOCOL_KEYBOARD,
|
||||
.bDeviceClass = TUSB_CLASS_MISC, // misc. because HID + CDC
|
||||
.bDeviceSubClass = MISC_SUBCLASS_COMMON,
|
||||
.bDeviceProtocol = MISC_PROTOCOL_IAD,
|
||||
.bMaxPacketSize0 = CFG_TUD_ENDPOINT0_SIZE,
|
||||
|
||||
.idVendor = USB_VID,
|
||||
|
@ -188,7 +188,7 @@ char const *string_desc_arr[] =
|
|||
{
|
||||
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
|
||||
"CuVoodoo", // 1: Manufacturer
|
||||
"passkey v2", // 2: Product
|
||||
"passkey", // 2: Product
|
||||
NULL, // 3: Serials will use unique ID if possible
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue