Lines Matching defs:roccat_report
287 struct kovaplus_roccat_report roccat_report;
309 roccat_report.type = KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_1;
310 roccat_report.profile = profile + 1;
311 roccat_report.button = 0;
312 roccat_report.data1 = profile + 1;
313 roccat_report.data2 = 0;
315 (uint8_t const *)&roccat_report);
568 struct kovaplus_roccat_report roccat_report;
579 roccat_report.type = button_report->type;
580 roccat_report.profile = kovaplus->actual_profile + 1;
582 if (roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_MACRO ||
583 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SHORTCUT ||
584 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH ||
585 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER)
586 roccat_report.button = button_report->data1;
588 roccat_report.button = 0;
590 if (roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI)
591 roccat_report.data1 = kovaplus_convert_event_cpi(button_report->data1);
593 roccat_report.data1 = button_report->data1;
595 roccat_report.data2 = button_report->data2;
598 (uint8_t const *)&roccat_report);