#include <event.h>
Collaboration diagram for MotionEvent:Data Fields | |
| WindowEventType | type |
| int32_t | device_id |
| Device that this event originated from. More... | |
| int32_t | source_id |
| Source that this event originated from. More... | |
| int32_t | action |
| Action signalled by this event. More... | |
| int32_t | flags |
| Flags associated with this event. More... | |
| int32_t | meta_state |
| State of the meta modifiers (ALT, CTRL, SHIFT). More... | |
| int32_t | edge_flags |
| Set for touches intersecting a touchscreen's edges, requires HW support. More... | |
| int32_t | button_state |
| State of buttons of the device. More... | |
| float | x_offset |
| Movement in x direction since down event. More... | |
| float | y_offset |
| Movement in y direction since down event. More... | |
| float | x_precision |
| Sampling precision in x direction. More... | |
| float | y_precision |
| Sampling precision in y direction. More... | |
| nsecs_t | down_time |
| Timestamp that marks the down event. More... | |
| nsecs_t | event_time |
| Timestamp that marks when this event happened. More... | |
| size_t | pointer_count |
| Number of pointers reported in this event. More... | |
| struct PointerCoordinate | pointer_coordinates [UBUNTU_APPLICATION_UI_INPUT_EVENT_MAX_POINTER_COUNT] |
| Pointer information, valid from [0,pointer_count). More... | |
Information describing an event originating from a "moving" device, e.g., a mouse, a mouse-wheel, a finger on a touchpad.
| int32_t MotionEvent::button_state |
| int32_t MotionEvent::device_id |
| nsecs_t MotionEvent::down_time |
| int32_t MotionEvent::edge_flags |
| nsecs_t MotionEvent::event_time |
| int32_t MotionEvent::flags |
| int32_t MotionEvent::meta_state |
| struct PointerCoordinate MotionEvent::pointer_coordinates[UBUNTU_APPLICATION_UI_INPUT_EVENT_MAX_POINTER_COUNT] |
| size_t MotionEvent::pointer_count |
| int32_t MotionEvent::source_id |
| WindowEventType MotionEvent::type |
| float MotionEvent::x_offset |
| float MotionEvent::x_precision |
| float MotionEvent::y_offset |
| float MotionEvent::y_precision |