#include <event_builder.h>
|
| 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, std::vector< uint8_t > const &cookie, MirKeyboardAction action, xkb_keysym_t keysym, int scan_code, MirInputEventModifiers modifiers) |
|
mir::EventUPtr | make_touch_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, std::vector< uint8_t > const &mac, MirInputEventModifiers modifiers) |
|
mir::EventUPtr | make_pointer_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, std::vector< uint8_t > const &mac, 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) |
|
EventInfo * | find_info (ulong qtTimestamp) |
|
void | store (const MirInputEvent *mirInputEvent, ulong qtTimestamp) |
|
◆ EventBuilder()
miroil::EventBuilder::EventBuilder |
( |
| ) |
|
◆ ~EventBuilder()
virtual miroil::EventBuilder::~EventBuilder |
( |
| ) |
|
|
virtual |
◆ add_touch()
void miroil::EventBuilder::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 |
|
) |
| |
◆ find_info()
EventInfo * miroil::EventBuilder::find_info |
( |
ulong |
qtTimestamp | ) |
|
◆ make_key_event()
◆ make_pointer_event()
mir::EventUPtr miroil::EventBuilder::make_pointer_event |
( |
MirInputDeviceId |
device_id, |
|
|
std::chrono::nanoseconds |
timestamp, |
|
|
std::vector< uint8_t > const & |
mac, |
|
|
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 |
|
) |
| |
◆ make_touch_event()
◆ store()
void miroil::EventBuilder::store |
( |
const MirInputEvent * |
mirInputEvent, |
|
|
ulong |
qtTimestamp |
|
) |
| |
The documentation for this class was generated from the following file:
Copyright © 2012-2023
Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.