Lines Matching refs:event
32 #include "util-input-event.h"
489 * never got a pressed event for or key presses for keys that we
585 * cancel event if we just switched to a palm touch. And the
627 struct libinput_event *event,
635 if (event->type != LIBINPUT_EVENT_KEYBOARD_KEY)
657 /* Posting the event here means we preempt the keyboard events that
658 * caused us to wake up, so the lid event is always passed on before
659 * the key event.
967 struct input_event *event,
983 switch (event->type) {
985 fallback_process_relative(dispatch, device, event, time);
988 fallback_process_absolute(dispatch, device, event, time);
991 fallback_process_key(dispatch, device, event, time);
994 fallback_process_switch(dispatch, device, event, time);
1154 * the first future lid close event. Laptops with a broken switch
1212 * event is caught as palm touch. */
1285 /* We need to init the event listener now only if the
1313 struct libinput_event *event,
1320 if (libinput_event_get_type(event) != LIBINPUT_EVENT_SWITCH_TOGGLE)
1323 swev = libinput_event_get_switch_event(event);