X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/9798440ca4f694e7cd8312a51b82e59589f1ebeb..c75f8bf2236bc69511d0ff0bc79bfaf1f62e3bfd:/Demos/Device/ClassDriver/Keyboard/Keyboard.c?ds=sidebyside diff --git a/Demos/Device/ClassDriver/Keyboard/Keyboard.c b/Demos/Device/ClassDriver/Keyboard/Keyboard.c index 6fe36db1f..7318edb8c 100644 --- a/Demos/Device/ClassDriver/Keyboard/Keyboard.c +++ b/Demos/Device/ClassDriver/Keyboard/Keyboard.c @@ -129,6 +129,7 @@ ISR(TIMER0_COMPA_vect, ISR_BLOCK) /** HID class driver callback function for the creation of HID reports to the host. * * \param HIDInterfaceInfo Pointer to the HID class interface configuration structure being referenced + * \param ReportID Report ID requested by the host if non-zero, otherwise callback should set to the generated report ID * \param ReportData Pointer to a buffer where the created report should be stored * * \return Number of bytes written in the report (or zero if no report is to be sent @@ -162,6 +163,7 @@ uint16_t CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_t* HIDInterfaceIn /** HID class driver callback function for the processing of HID reports from the host. * * \param HIDInterfaceInfo Pointer to the HID class interface configuration structure being referenced + * \param ReportID Report ID of the received report from the host * \param ReportData Pointer to a buffer where the created report has been stored * \param ReportSize Size in bytes of the received HID report */