Class EventBuilder¶
Defined in File event_builder.h
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
class EventBuilder¶
Public Functions
-
EventBuilder()¶
-
virtual ~EventBuilder()¶
-
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)¶
-
mir::EventUPtr make_key_event(MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, MirKeyboardAction action, xkb_keysym_t keysym, int scan_code, MirInputEventModifiers modifiers)¶
-
mir::EventUPtr make_touch_event(MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, MirInputEventModifiers modifiers)¶
-
mir::EventUPtr make_pointer_event(MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, MirInputEventModifiers modifiers, MirPointerAction action, MirPointerButtons buttons_pressed, float x_axis_value, float y_axis_value, float hscroll_value, float vscroll_value, float relative_x_value, float relative_y_value)¶
-
void store(const MirInputEvent *mirInputEvent, ulong qtTimestamp)¶
-
EventBuilder()¶