Lines Matching refs:roccat_report
285 struct kovaplus_roccat_report roccat_report;
307 roccat_report.type = KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_1;
308 roccat_report.profile = profile + 1;
309 roccat_report.button = 0;
310 roccat_report.data1 = profile + 1;
311 roccat_report.data2 = 0;
313 (uint8_t const *)&roccat_report);
571 struct kovaplus_roccat_report roccat_report;
582 roccat_report.type = button_report->type;
583 roccat_report.profile = kovaplus->actual_profile + 1;
585 if (roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_MACRO ||
586 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SHORTCUT ||
587 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH ||
588 roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER)
589 roccat_report.button = button_report->data1;
591 roccat_report.button = 0;
593 if (roccat_report.type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI)
594 roccat_report.data1 = kovaplus_convert_event_cpi(button_report->data1);
596 roccat_report.data1 = button_report->data1;
598 roccat_report.data2 = button_report->data2;
601 (uint8_t const *)&roccat_report);