Home
last modified time | relevance | path

Searched refs:button_report (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/hid/
Dhid-roccat-kovaplus.c539 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()
[all …]
Dhid-roccat-koneplus.c469 struct koneplus_mouse_report_button const *button_report; in koneplus_keep_values_up_to_date() local
473 button_report = (struct koneplus_mouse_report_button const *)data; in koneplus_keep_values_up_to_date()
474 switch (button_report->type) { in koneplus_keep_values_up_to_date()
476 koneplus_profile_activated(koneplus, button_report->data1 - 1); in koneplus_keep_values_up_to_date()
487 struct koneplus_mouse_report_button const *button_report; in koneplus_report_to_chrdev() local
492 button_report = (struct koneplus_mouse_report_button const *)data; in koneplus_report_to_chrdev()
494 if ((button_report->type == KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH || in koneplus_report_to_chrdev()
495 button_report->type == KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER) && in koneplus_report_to_chrdev()
496 button_report->data2 != KONEPLUS_MOUSE_REPORT_BUTTON_ACTION_PRESS) in koneplus_report_to_chrdev()
499 roccat_report.type = button_report->type; in koneplus_report_to_chrdev()
[all …]
Dhid-roccat-isku.c362 struct isku_report_button const *button_report; in isku_keep_values_up_to_date() local
366 button_report = (struct isku_report_button const *)data; in isku_keep_values_up_to_date()
367 switch (button_report->event) { in isku_keep_values_up_to_date()
369 isku_profile_activated(isku, button_report->data1 - 1); in isku_keep_values_up_to_date()
380 struct isku_report_button const *button_report; in isku_report_to_chrdev() local
385 button_report = (struct isku_report_button const *)data; in isku_report_to_chrdev()
387 roccat_report.event = button_report->event; in isku_report_to_chrdev()
388 roccat_report.data1 = button_report->data1; in isku_report_to_chrdev()
389 roccat_report.data2 = button_report->data2; in isku_report_to_chrdev()