Lines Matching defs:button_report
542 struct kovaplus_mouse_report_button const *button_report;
547 button_report = (struct kovaplus_mouse_report_button const *)data;
549 switch (button_report->type) {
551 kovaplus_profile_activated(kovaplus, button_report->data1 - 1);
554 kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1);
557 kovaplus->actual_x_sensitivity = button_report->data1;
558 kovaplus->actual_y_sensitivity = button_report->data2;
569 struct kovaplus_mouse_report_button const *button_report;
574 button_report = (struct kovaplus_mouse_report_button const *)data;
576 if (button_report->type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_2)
579 roccat_report.type = button_report->type;
586 roccat_report.button = button_report->data1;
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;