20 #ifndef MIR_INPUT_DEFAULT_EVENT_BUILDER_H_ 21 #define MIR_INPUT_DEFAULT_EVENT_BUILDER_H_ 40 std::shared_ptr<cookie::Authority>
const& cookie_authority,
41 std::shared_ptr<Seat>
const& seat);
47 float x_axis_value,
float y_axis_value,
float pressure_value,
float touch_major_value,
48 float touch_minor_value,
float size_value)
override;
51 float hscroll_value,
float vscroll_value,
float relative_x_value,
52 float relative_y_value)
override;
56 EventUPtr device_state_event(
float cursor_x,
float cursor_y)
override;
59 std::shared_ptr<cookie::Authority>
const cookie_authority;
60 std::shared_ptr<Seat>
const seat;
All things Mir.
Definition: atomic_callback.h:25
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:278
std::unique_ptr< MirEvent, void(*)(MirEvent *)> EventUPtr
Definition: seat.h:32