• Home
  • Raw
  • Download

Lines Matching refs:dispatch

484 fallback_debounce_handle_state(struct fallback_dispatch *dispatch,  in fallback_debounce_handle_state()  argument
495 if (hw_key_has_changed(dispatch, code)) in fallback_debounce_handle_state()
507 changed[0] != dispatch->debounce.button_code) { in fallback_debounce_handle_state()
508 debounce_handle_event(dispatch, in fallback_debounce_handle_state()
522 bool is_down = hw_is_key_down(dispatch, changed[i]); in fallback_debounce_handle_state()
525 dispatch->debounce.state != DEBOUNCE_STATE_DISABLED) { in fallback_debounce_handle_state()
526 debounce_set_state(dispatch, in fallback_debounce_handle_state()
533 dispatch->debounce.button_code = changed[i]; in fallback_debounce_handle_state()
534 debounce_handle_event(dispatch, in fallback_debounce_handle_state()
543 debounce_handle_event(dispatch, in fallback_debounce_handle_state()
556 struct fallback_dispatch *dispatch = in debounce_timeout() local
557 fallback_dispatch(device->dispatch); in debounce_timeout()
559 debounce_handle_event(dispatch, DEBOUNCE_EVENT_TIMEOUT, now); in debounce_timeout()
566 struct fallback_dispatch *dispatch = in debounce_timeout_short() local
567 fallback_dispatch(device->dispatch); in debounce_timeout_short()
569 debounce_handle_event(dispatch, DEBOUNCE_EVENT_TIMEOUT_SHORT, now); in debounce_timeout_short()
573 fallback_init_debounce(struct fallback_dispatch *dispatch) in fallback_init_debounce() argument
575 struct evdev_device *device = dispatch->device; in fallback_init_debounce()
579 dispatch->debounce.state = DEBOUNCE_STATE_DISABLED; in fallback_init_debounce()
583 dispatch->debounce.state = DEBOUNCE_STATE_IS_UP; in fallback_init_debounce()
589 libinput_timer_init(&dispatch->debounce.timer_short, in fallback_init_debounce()
599 libinput_timer_init(&dispatch->debounce.timer, in fallback_init_debounce()