\r
.ReportINEndpointNumber = KEYBOARD_IN_EPNUM,\r
.ReportINEndpointSize = HID_EPSIZE,\r
-\r
- .ReportOUTEndpointNumber = KEYBOARD_OUT_EPNUM,\r
- .ReportOUTEndpointSize = HID_EPSIZE,\r
\r
.ReportINBufferSize = sizeof(USB_KeyboardReport_Data_t),\r
\r
.ReportINEndpointSize = HID_EPSIZE,\r
\r
.ReportINBufferSize = sizeof(USB_MouseReport_Data_t),\r
-\r
- .ReportOUTEndpointNumber = 0,\r
- .ReportOUTEndpointSize = 0,\r
};\r
\r
/** Main program entry point. This routine contains the overall program flow, including initial\r
*\r
* \return Number of bytes written in the report (or zero if no report is to be sent\r
*/\r
-uint16_t CALLBACK_USB_HID_CreateNextHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, void* ReportData)\r
+uint16_t CALLBACK_USB_HID_CreateNextHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, uint8_t* ReportID, void* ReportData)\r
{\r
uint8_t JoyStatus_LCL = Joystick_GetStatus();\r
uint8_t ButtonStatus_LCL = Buttons_GetStatus();\r
* \param ReportData Pointer to a buffer where the created report has been stored\r
* \param ReportSize Size in bytes of the received HID report\r
*/\r
-void CALLBACK_USB_HID_ProcessReceivedHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, void* ReportData, uint16_t ReportSize)\r
+void CALLBACK_USB_HID_ProcessReceivedHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, uint8_t ReportID,\r
+ void* ReportData, uint16_t ReportSize)\r
{\r
if (HIDInterfaceInfo == &Keyboard_HID_Interface)\r
{\r