Home
last modified time | relevance | path

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

/drivers/hid/
Dhid-roccat-kovaplus.c549 struct kovaplus_mouse_report_button const *button_report; in kovaplus_keep_values_up_to_date() local
554 button_report = (struct kovaplus_mouse_report_button const *)data; in kovaplus_keep_values_up_to_date()
556 switch (button_report->type) { in kovaplus_keep_values_up_to_date()
558 kovaplus_profile_activated(kovaplus, button_report->data1 - 1); in kovaplus_keep_values_up_to_date()
561 kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1); in kovaplus_keep_values_up_to_date()
564 kovaplus->actual_x_sensitivity = button_report->data1; in kovaplus_keep_values_up_to_date()
565 kovaplus->actual_y_sensitivity = button_report->data2; in kovaplus_keep_values_up_to_date()
576 struct kovaplus_mouse_report_button const *button_report; in kovaplus_report_to_chrdev() local
581 button_report = (struct kovaplus_mouse_report_button const *)data; in kovaplus_report_to_chrdev()
583 if (button_report->type == KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_2) in kovaplus_report_to_chrdev()
[all …]
Dhid-roccat-koneplus.c479 struct koneplus_mouse_report_button const *button_report; in koneplus_keep_values_up_to_date() local
483 button_report = (struct koneplus_mouse_report_button const *)data; in koneplus_keep_values_up_to_date()
484 switch (button_report->type) { in koneplus_keep_values_up_to_date()
486 koneplus_profile_activated(koneplus, button_report->data1 - 1); in koneplus_keep_values_up_to_date()
497 struct koneplus_mouse_report_button const *button_report; in koneplus_report_to_chrdev() local
502 button_report = (struct koneplus_mouse_report_button const *)data; in koneplus_report_to_chrdev()
504 if ((button_report->type == KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH || in koneplus_report_to_chrdev()
505 button_report->type == KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER) && in koneplus_report_to_chrdev()
506 button_report->data2 != KONEPLUS_MOUSE_REPORT_BUTTON_ACTION_PRESS) in koneplus_report_to_chrdev()
509 roccat_report.type = button_report->type; in koneplus_report_to_chrdev()
[all …]
Dhid-roccat-isku.c370 struct isku_report_button const *button_report; in isku_keep_values_up_to_date() local
374 button_report = (struct isku_report_button const *)data; in isku_keep_values_up_to_date()
375 switch (button_report->event) { in isku_keep_values_up_to_date()
377 isku_profile_activated(isku, button_report->data1 - 1); in isku_keep_values_up_to_date()
388 struct isku_report_button const *button_report; in isku_report_to_chrdev() local
393 button_report = (struct isku_report_button const *)data; in isku_report_to_chrdev()
395 roccat_report.event = button_report->event; in isku_report_to_chrdev()
396 roccat_report.data1 = button_report->data1; in isku_report_to_chrdev()
397 roccat_report.data2 = button_report->data2; in isku_report_to_chrdev()