* \param[in,out] ReportID If preset to a non-zero value, this is the report ID being requested by the host. If zero, this should\r
* be set to the report ID of the generated HID input report (if any). If multiple reports are not sent via the\r
* given HID interface, this parameter should be ignored.\r
- * \param[out] ReportData Pointer to a buffer where the generated HID report should be stored.\r
+ * \param[in] ReportType Type of HID report to generate, either \ref REPORT_ITEM_TYPE_In or \ref REPORT_ITEM_TYPE_Feature\r
+ * \param[out] ReportData Pointer to a buffer where the generated HID report should be stored\r
* \param[out] ReportSize Number of bytes in the generated input report, or zero if no report is to be sent\r
*\r
* \return Boolean true to force the sending of the report even if it is identical to the previous report and still within\r
* the idle period (useful for devices which report relative movement), false otherwise\r
*/\r
bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, uint8_t* const ReportID,\r
- void* ReportData, uint16_t* ReportSize) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2)\r
- ATTR_NON_NULL_PTR_ARG(3) ATTR_NON_NULL_PTR_ARG(4);\r
+ const uint8_t ReportType, void* ReportData, uint16_t* ReportSize) ATTR_NON_NULL_PTR_ARG(1)\r
+ ATTR_NON_NULL_PTR_ARG(2) ATTR_NON_NULL_PTR_ARG(4) ATTR_NON_NULL_PTR_ARG(5);\r
\r
/** HID class driver callback for the user processing of a received HID OUT report. This callback may fire in response to\r
* either HID class control requests from the host, or by the normal HID endpoint polling procedure. Inside this callback\r