HID_REPORT_TYPE_OUTPUT
((type == HID_OUTPUT_REPORT) ? HID_REPORT_TYPE_OUTPUT :
if (rinfo.report_type == HID_REPORT_TYPE_OUTPUT)