Lines Matching defs:event
19 * Is it possible to remove and reinstall the urb in raw-event- or any
47 roccat_report.event = kone_mouse_event_switch_profile;
792 struct kone_mouse_event const *event)
794 switch (event->event) {
796 kone->actual_dpi = kone->profiles[event->value - 1].
800 kone->actual_profile = event->value;
804 kone->actual_dpi = event->value;
810 struct kone_mouse_event const *event)
814 switch (event->event) {
819 roccat_report.event = event->event;
820 roccat_report.value = event->value;
827 if (event->value == kone_keystroke_action_press) {
828 roccat_report.event = event->event;
830 roccat_report.key = event->macro_key;
841 * Only mousepart gets informations about special events in its extended event
848 struct kone_mouse_event *event = (struct kone_mouse_event *)data;
859 * Pressed button is reported in each movement event.
860 * Workaround sends only one event per press.
862 if (memcmp(&kone->last_mouse_event.tilt, &event->tilt, 5))
863 memcpy(&kone->last_mouse_event, event,
866 memset(&event->wipe, 0, sizeof(event->wipe));
868 kone_keep_values_up_to_date(kone, event);
871 kone_report_to_chrdev(kone, event);