• Home
  • Raw
  • Download

Lines Matching refs:middlebutton

87 			       middlebutton_state_to_str(device->middlebutton.state));  in middlebutton_state_error()
93 libinput_timer_set(&device->middlebutton.timer, in middlebutton_timer_set()
100 libinput_timer_cancel(&device->middlebutton.timer); in middlebutton_timer_cancel()
112 device->middlebutton.first_event_time = now; in middlebutton_set_state()
126 device->middlebutton.state = state; in middlebutton_set_state()
195 device->middlebutton.first_event_time, in evdev_middlebutton_ldown_handle_event()
205 device->middlebutton.first_event_time, in evdev_middlebutton_ldown_handle_event()
237 device->middlebutton.first_event_time, in evdev_middlebutton_rdown_handle_event()
246 device->middlebutton.first_event_time, in evdev_middlebutton_rdown_handle_event()
259 device->middlebutton.first_event_time, in evdev_middlebutton_rdown_handle_event()
502 current = device->middlebutton.state; in evdev_middlebutton_handle_event()
558 middlebutton_state_to_str(device->middlebutton.state), in evdev_middlebutton_handle_event()
567 if (device->middlebutton.want_enabled == in evdev_middlebutton_apply_config()
568 device->middlebutton.enabled) in evdev_middlebutton_apply_config()
571 if (device->middlebutton.button_mask != 0) in evdev_middlebutton_apply_config()
574 device->middlebutton.enabled = device->middlebutton.want_enabled; in evdev_middlebutton_apply_config()
589 if (!device->middlebutton.enabled) in evdev_middlebutton_filter_button()
615 bit >= sizeof(device->middlebutton.button_mask) * 8) { in evdev_middlebutton_filter_button()
625 old_mask = device->middlebutton.button_mask; in evdev_middlebutton_filter_button()
627 device->middlebutton.button_mask |= 1 << bit; in evdev_middlebutton_filter_button()
629 device->middlebutton.button_mask &= ~(1 << bit); in evdev_middlebutton_filter_button()
631 if (old_mask != device->middlebutton.button_mask && in evdev_middlebutton_filter_button()
632 device->middlebutton.button_mask == 0) { in evdev_middlebutton_filter_button()
664 evdev->middlebutton.want_enabled = true; in evdev_middlebutton_set()
667 evdev->middlebutton.want_enabled = false; in evdev_middlebutton_set()
683 return evdev->middlebutton.want_enabled ? in evdev_middlebutton_get()
693 return evdev->middlebutton.enabled_default ? in evdev_middlebutton_get_default()
709 libinput_timer_init(&device->middlebutton.timer, in evdev_init_middlebutton()
714 device->middlebutton.enabled_default = enable; in evdev_init_middlebutton()
715 device->middlebutton.want_enabled = enable; in evdev_init_middlebutton()
716 device->middlebutton.enabled = enable; in evdev_init_middlebutton()
721 device->middlebutton.config.available = evdev_middlebutton_is_available; in evdev_init_middlebutton()
722 device->middlebutton.config.set = evdev_middlebutton_set; in evdev_init_middlebutton()
723 device->middlebutton.config.get = evdev_middlebutton_get; in evdev_init_middlebutton()
724 device->middlebutton.config.get_default = evdev_middlebutton_get_default; in evdev_init_middlebutton()
725 device->base.config.middle_emulation = &device->middlebutton.config; in evdev_init_middlebutton()