static void
post_device_event(struct libinput_device *device,
+ uint64_t time,
enum libinput_event_type type,
struct libinput_event *event)
{
.seat_key_count = seat_key_count,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_KEYBOARD_KEY,
&key_event->base);
}
.y = dy,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_POINTER_MOTION,
&motion_event->base);
}
.y = y,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_POINTER_MOTION_ABSOLUTE,
&motion_absolute_event->base);
}
.seat_button_count = seat_button_count,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_POINTER_BUTTON,
&button_event->base);
}
.value = value,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_POINTER_AXIS,
&axis_event->base);
}
.y = y,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_TOUCH_DOWN,
&touch_event->base);
}
.y = y,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_TOUCH_MOTION,
&touch_event->base);
}
.seat_slot = seat_slot,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_TOUCH_UP,
&touch_event->base);
}
.time = time,
};
- post_device_event(device,
+ post_device_event(device, time,
LIBINPUT_EVENT_TOUCH_FRAME,
&touch_event->base);
}