17 #ifndef MIROIL_EVENT_BUILDER_H
18 #define MIROIL_EVENT_BUILDER_H
20 #include <mir_toolkit/mir_input_device_types.h>
21 #include <miral/version.h>
23 #include <miral/toolkit_event.h>
25 #include <mir_toolkit/event.h>
30 #include <sys/types.h>
36 namespace mir {
typedef std::unique_ptr<MirEvent,
void(*)(MirEvent*)>
EventUPtr; }
57 void store(
const MirInputEvent *mirInputEvent, ulong qtTimestamp);
72 MirTouchTooltype tooltype,
float x_axis_value,
float y_axis_value,
73 float pressure_value,
float touch_major_value,
float touch_minor_value,
float size_value);
77 std::vector<uint8_t>
const& cookie, MirKeyboardAction action, xkb_keysym_t keysym,
88 float x_axis_value,
float y_axis_value,
89 float hscroll_value,
float vscroll_value,
90 float relative_x_value,
float relative_y_value);
96 void store(
const MirInputEvent *mirInputEvent, ulong qtTimestamp);
110 std::vector<EventInfo> event_info_vector;
111 size_t next_index{0};
112 size_t event_info_count{0};