19 #ifndef MIR_EVENT_BUILDERS_H_ 20 #define MIR_EVENT_BUILDERS_H_ 35 typedef std::unique_ptr<MirEvent, void(*)(MirEvent*)>
EventUPtr;
62 std::vector<uint8_t>
const& cookie,
MirKeyboardAction action, xkb_keysym_t key_code,
93 float pressure_value,
float touch_major_value,
float touch_minor_value,
float size_value);
100 float x_axis_value,
float y_axis_value,
101 float hscroll_value,
float vscroll_value)
__attribute__ ((deprecated));
107 float x_axis_value,
float y_axis_value,
108 float hscroll_value,
float vscroll_value)
__attribute__ ((deprecated));
113 float x_axis_value,
float y_axis_value,
114 float hscroll_value,
float vscroll_value,
115 float relative_x_value,
float relative_y_value);
121 float x_axis_value,
float y_axis_value,
122 float hscroll_value,
float vscroll_value,
123 float relative_x_value,
float relative_y_value)
__attribute__ ((deprecated));
129 float x_axis_value,
float y_axis_value,
130 float hscroll_value,
float vscroll_value,
131 float relative_x_value,
float relative_y_value)
__attribute__ ((deprecated));
139 #endif // MIR_EVENT_BUILDERS_H_
All things Mir.
Definition: atomic_callback.h:25
void set_modifier(MirEvent &event, MirInputEventModifiers modifiers)
Definition: event_builders.cpp:181
void add_touch(MirEvent &event, MirTouchId touch_id, MirTouchAction action, MirTouchTooltype tooltype, float x_axis_value, float y_axis_value, float pressure_value, float touch_major_value, float touch_minor_value, float size_value)
Definition: event_builders.cpp:269
int __attribute__((constructor)) init_google_protobuf()
Definition: google_protobuf_guard.cpp:21
void set_button_state(MirEvent &event, MirPointerButtons button_state)
Definition: event_builders.cpp:213
void set_cursor_position(MirEvent &event, mir::geometry::Point const &pos)
Definition: event_builders.cpp:202
EventUPtr make_event(frontend::SurfaceId const &surface_id, MirOrientation orientation)
std::unique_ptr< MirEvent, void(*)(MirEvent *)> EventUPtr
Definition: event_builders.h:35
Definition: event_private.h:181
int const size
Definition: make_socket_rpc_channel.cpp:51