/* USB Device Endpoint 0 Event Callback - HID specific handling (Out Request To Interface) Parameters: none Return Value: TRUE - Out class request ok, FALSE - Out class request not supported  */
__WEAK BOOL USBD_EndPoint0_Out_HID_ReqToIF(void)
/* USB Device Endpoint 0 Event Callback - HID specific handling (Out Request To Interface) Parameters: none Return Value: TRUE - Out class request ok, FALSE - Out class request not supported  */
__WEAK BOOL USBD_EndPoint0_Out_HID_ReqToIF(void)
{
    if (USBD_SetupPacket.wIndexL == usbd_hid_if_num ||
        USBD_SetupPacket.wIndexL == usbd_webusb_if_num) {
        switch (USBD_SetupPacket.bRequest) {
            case HID_REQUEST_SET_REPORT:
                if (USBD_HID_SetReport()) {
                    USBD_StatusInStage();
                    return (__TRUE);
                }
                break;
        }
    }
    return (__FALSE);
}