Searched refs:button_report (Results 1 – 3 of 3) sorted by relevance
545 struct kovaplus_mouse_report_button const *button_report; in kovaplus_keep_values_up_to_date() local550 button_report = (struct kovaplus_mouse_report_button const *)data; in kovaplus_keep_values_up_to_date()552 switch (button_report->type) { in kovaplus_keep_values_up_to_date()554 kovaplus_profile_activated(kovaplus, button_report->data1 - 1); in kovaplus_keep_values_up_to_date()557 kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1); in kovaplus_keep_values_up_to_date()560 kovaplus->actual_x_sensitivity = button_report->data1; in kovaplus_keep_values_up_to_date()561 kovaplus->actual_y_sensitivity = button_report->data2; in kovaplus_keep_values_up_to_date()572 struct kovaplus_mouse_report_button const *button_report; in kovaplus_report_to_chrdev() local577 button_report = (struct kovaplus_mouse_report_button const *)data; in kovaplus_report_to_chrdev()579 if (button_report->type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_2) in kovaplus_report_to_chrdev()[all …]
475 struct koneplus_mouse_report_button const *button_report; in koneplus_keep_values_up_to_date() local479 button_report = (struct koneplus_mouse_report_button const *)data; in koneplus_keep_values_up_to_date()480 switch (button_report->type) { in koneplus_keep_values_up_to_date()482 koneplus_profile_activated(koneplus, button_report->data1 - 1); in koneplus_keep_values_up_to_date()493 struct koneplus_mouse_report_button const *button_report; in koneplus_report_to_chrdev() local498 button_report = (struct koneplus_mouse_report_button const *)data; in koneplus_report_to_chrdev()500 if ((button_report->type == KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH || in koneplus_report_to_chrdev()501 button_report->type == KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER) && in koneplus_report_to_chrdev()502 button_report->data2 != KONEPLUS_MOUSE_REPORT_BUTTON_ACTION_PRESS) in koneplus_report_to_chrdev()505 roccat_report.type = button_report->type; in koneplus_report_to_chrdev()[all …]
368 struct isku_report_button const *button_report; in isku_keep_values_up_to_date() local372 button_report = (struct isku_report_button const *)data; in isku_keep_values_up_to_date()373 switch (button_report->event) { in isku_keep_values_up_to_date()375 isku_profile_activated(isku, button_report->data1 - 1); in isku_keep_values_up_to_date()386 struct isku_report_button const *button_report; in isku_report_to_chrdev() local391 button_report = (struct isku_report_button const *)data; in isku_report_to_chrdev()393 roccat_report.event = button_report->event; in isku_report_to_chrdev()394 roccat_report.data1 = button_report->data1; in isku_report_to_chrdev()395 roccat_report.data2 = button_report->data2; in isku_report_to_chrdev()