Mir
Loading...
Searching...
No Matches
miroil::EventBuilder Class Reference

#include <event_builder.h>

Classes

class  EventInfo
 

Public Member 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, 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)
 
EventInfofind_info (ulong qtTimestamp)
 
void store (const MirInputEvent *mirInputEvent, ulong qtTimestamp)
 

Constructor & Destructor Documentation

◆ EventBuilder()

miroil::EventBuilder::EventBuilder ( )

◆ ~EventBuilder()

virtual miroil::EventBuilder::~EventBuilder ( )
virtual

Member Function Documentation

◆ 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()

mir::EventUPtr miroil::EventBuilder::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 )

◆ 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()

mir::EventUPtr miroil::EventBuilder::make_touch_event ( MirInputDeviceId device_id,
std::chrono::nanoseconds timestamp,
std::vector< uint8_t > const & mac,
MirInputEventModifiers modifiers )

◆ store()

void miroil::EventBuilder::store ( const MirInputEvent * mirInputEvent,
ulong qtTimestamp )

The documentation for this class was generated from the following file:

Copyright © 2012-2025 Canonical Ltd.
Generated on Sun Mar 2 17:34:18 UTC 2025
This documentation is licensed under the GPL version 2 or 3.