Lines Matching defs:button_report
475 struct koneplus_mouse_report_button const *button_report;
479 button_report = (struct koneplus_mouse_report_button const *)data;
480 switch (button_report->type) {
482 koneplus_profile_activated(koneplus, button_report->data1 - 1);
493 struct koneplus_mouse_report_button const *button_report;
498 button_report = (struct koneplus_mouse_report_button const *)data;
500 if ((button_report->type == KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH ||
501 button_report->type == KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER) &&
502 button_report->data2 != KONEPLUS_MOUSE_REPORT_BUTTON_ACTION_PRESS)
505 roccat_report.type = button_report->type;
506 roccat_report.data1 = button_report->data1;
507 roccat_report.data2 = button_report->data2;