/* Update the report item value if it is contained within the current report */
                                                if (!(USB_GetHIDReportItemInfo(JoystickReport, ReportItem)))
                                                  continue;
 
                                                /* Determine what report item is being tested, process updated value as needed */
                                                if ((ReportItem->Attributes.Usage.Page        == USAGE_PAGE_BUTTON) &&
                                                /* Update the report item value if it is contained within the current report */
                                                if (!(USB_GetHIDReportItemInfo(JoystickReport, ReportItem)))
                                                  continue;
 
                                                /* Determine what report item is being tested, process updated value as needed */
                                                if ((ReportItem->Attributes.Usage.Page        == USAGE_PAGE_BUTTON) &&