Lines Matching defs:roccat_report
326 struct kovaplus_roccat_report roccat_report;
348 roccat_report.type = KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_1;
349 roccat_report.profile = profile + 1;
350 roccat_report.button = 0;
351 roccat_report.data1 = profile + 1;
352 roccat_report.data2 = 0;
354 (uint8_t const *)&roccat_report);
635 struct kovaplus_roccat_report roccat_report;
646 roccat_report.type = button_report->type;
647 roccat_report.profile = kovaplus->actual_profile + 1;
649 if (roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_MACRO ||
650 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SHORTCUT ||
651 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH ||
652 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER)
653 roccat_report.button = button_report->data1;
655 roccat_report.button = 0;
657 if (roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI)
658 roccat_report.data1 = kovaplus_convert_event_cpi(button_report->data1);
660 roccat_report.data1 = button_report->data1;
662 roccat_report.data2 = button_report->data2;
665 (uint8_t const *)&roccat_report);