Lines Matching refs:button_report
539 struct kovaplus_mouse_report_button const *button_report; in kovaplus_keep_values_up_to_date() local
544 button_report = (struct kovaplus_mouse_report_button const *)data; in kovaplus_keep_values_up_to_date()
546 switch (button_report->type) { in kovaplus_keep_values_up_to_date()
548 kovaplus_profile_activated(kovaplus, button_report->data1 - 1); in kovaplus_keep_values_up_to_date()
551 kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1); in kovaplus_keep_values_up_to_date()
554 kovaplus->actual_x_sensitivity = button_report->data1; in kovaplus_keep_values_up_to_date()
555 kovaplus->actual_y_sensitivity = button_report->data2; in kovaplus_keep_values_up_to_date()
566 struct kovaplus_mouse_report_button const *button_report; in kovaplus_report_to_chrdev() local
571 button_report = (struct kovaplus_mouse_report_button const *)data; in kovaplus_report_to_chrdev()
573 if (button_report->type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_2) in kovaplus_report_to_chrdev()
576 roccat_report.type = button_report->type; in kovaplus_report_to_chrdev()
583 roccat_report.button = button_report->data1; in kovaplus_report_to_chrdev()
588 roccat_report.data1 = kovaplus_convert_event_cpi(button_report->data1); in kovaplus_report_to_chrdev()
590 roccat_report.data1 = button_report->data1; in kovaplus_report_to_chrdev()
592 roccat_report.data2 = button_report->data2; in kovaplus_report_to_chrdev()