X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/b7049da11b6fe3c37b23d8f7dddfff08ba14f449..234d0a39eb3e261a1ddfcea31d7104e3400b2491:/Demos/Device/ClassDriver/Joystick/Joystick.c?ds=inline diff --git a/Demos/Device/ClassDriver/Joystick/Joystick.c b/Demos/Device/ClassDriver/Joystick/Joystick.c index 47d6930d0..85f670e61 100644 --- a/Demos/Device/ClassDriver/Joystick/Joystick.c +++ b/Demos/Device/ClassDriver/Joystick/Joystick.c @@ -128,6 +128,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 @@ -161,6 +162,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 */