Lines Matching refs:event

37 #include "util-input-event.h"
340 /* Bug #161: touch ends in the same event frame where it restarts
717 struct input_event event;
731 event = *e;
735 switch (event.code) {
737 event.code = BTN_LEFT;
740 event.code = BTN_RIGHT;
743 event.code = BTN_MIDDLE;
751 &event, time);
1461 information, the next x/y event is going to be a jump. So we
1462 reset that touch to non-dirty effectively swallowing that event
1463 and restarting with the next event again.
1554 * - current single-event delta is >20mm, or
1610 event sequence after a sleep is always:
1616 second event:
1620 third event:
1624 fourth event:
1630 the next event and then calculate the movement for one fictitious
1631 event instead, swallowing all other movements. So if the time
1763 * count each event that we're over the threshold up to 10
1806 * We have a physical button down event on a clickpad. To avoid
2043 * Release buttons first. If tp is a clickpad, the button event
2197 tp_trackpoint_event(uint64_t time, struct libinput_event *event, void *data)
2206 if (event->type == LIBINPUT_EVENT_POINTER_BUTTON)
2293 tp_keyboard_event(uint64_t time, struct libinput_event *event, void *data)
2301 if (event->type != LIBINPUT_EVENT_KEYBOARD_KEY)
2304 kbdev = libinput_event_get_keyboard_event(event);
2436 tp_lid_switch_event(uint64_t time, struct libinput_event *event, void *data)
2441 if (libinput_event_get_type(event) != LIBINPUT_EVENT_SWITCH_TOGGLE)
2444 swev = libinput_event_get_switch_event(event);
2462 struct libinput_event *event,
2468 if (libinput_event_get_type(event) != LIBINPUT_EVENT_SWITCH_TOGGLE)
2471 swev = libinput_event_get_switch_event(event);
2808 * event is caught as palm touch. */