.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)\r
},\r
\r
- .KeyboardInterface = \r
+ .HID1_KeyboardInterface = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},\r
\r
.InterfaceStrIndex = NO_DESCRIPTOR\r
},\r
\r
- .KeyboardHID = \r
+ .HID1_KeyboardHID = \r
{ \r
.Header = {.Size = sizeof(USB_HID_Descriptor_t), .Type = DTYPE_HID},\r
\r
.HIDReportLength = sizeof(KeyboardReport)\r
},\r
\r
- .KeyboardInEndpoint = \r
+ .HID1_ReportINEndpoint = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
\r
.PollingIntervalMS = 0x0A\r
},\r
\r
- .MouseInterface = \r
+ .HID2_MouseInterface = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},\r
\r
.InterfaceStrIndex = NO_DESCRIPTOR\r
},\r
\r
- .MouseHID = \r
+ .HID2_MouseHID = \r
{ \r
.Header = {.Size = sizeof(USB_HID_Descriptor_t), .Type = DTYPE_HID},\r
\r
.HIDReportLength = sizeof(MouseReport)\r
},\r
\r
- .MouseInEndpoint = \r
+ .HID2_ReportINEndpoint = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
\r
case DTYPE_HID: \r
if (!(wIndex))\r
{\r
- Address = (void*)&ConfigurationDescriptor.KeyboardHID;\r
+ Address = (void*)&ConfigurationDescriptor.HID1_KeyboardHID;\r
Size = sizeof(USB_HID_Descriptor_t);\r
}\r
else\r
{\r
- Address = (void*)&ConfigurationDescriptor.MouseHID;\r
+ Address = (void*)&ConfigurationDescriptor.HID2_MouseHID;\r
Size = sizeof(USB_HID_Descriptor_t); \r
}\r
break;\r