#include <event.h>
Models an input event.
Definition at line 120 of file event.h.
Action signalled by this event.
Definition at line 125 of file event.h.
int32_t Event::button_state |
State of buttons of the device.
Definition at line 156 of file event.h.
union { ... } Event::details |
Information specific to key/motion event types.
Device that this event originated from.
Definition at line 123 of file event.h.
Timestamp that marks the down event.
Definition at line 145 of file event.h.
int32_t Event::edge_flags |
Set for touches intersecting a touchscreen's edges, requires HW support.
Definition at line 155 of file event.h.
Timestamp when the event happened.
Timestamp that marks when this event happened.
Definition at line 134 of file event.h.
Flags associated with this event.
Definition at line 126 of file event.h.
struct { ... } ::HardwareSwitchEvent Event::hw_switch |
Unique id of the pointer.
Definition at line 166 of file event.h.
struct { ... } ::KeyEvent Event::key |
int32_t Event::meta_state |
State of the meta modifiers (ALT, CTRL, SHIFT).
Definition at line 127 of file event.h.
struct { ... } ::MotionEvent Event::motion |
Orientation.
Definition at line 173 of file event.h.
Pointer information, valid from [0,pointer_count).
size_t Event::pointer_count |
Number of pointers reported in this event.
Definition at line 163 of file event.h.
uint32_t Event::policy_flags |
Policy flags.
Definition at line 135 of file event.h.
Pressure of the touch.
Definition at line 172 of file event.h.
Processed and raw x coordinates.
Definition at line 167 of file event.h.
Processed and raw y coordinates.
Definition at line 168 of file event.h.
int32_t Event::repeat_count |
Size of the pointer/touch.
Definition at line 171 of file event.h.
Source that this event originated from.
Definition at line 124 of file event.h.
int32_t Event::switch_code |
The scan code of the switch.
Definition at line 136 of file event.h.
int32_t Event::switch_value |
The value reported by the switch.
Definition at line 137 of file event.h.
Touch major coordinate.
Definition at line 169 of file event.h.
Touch minor coordinate.
Definition at line 170 of file event.h.
Type of the event.
Definition at line 122 of file event.h.
Movement in x direction since down event.
Definition at line 157 of file event.h.
Sampling precision in x direction.
Definition at line 159 of file event.h.
Movement in y direction since down event.
Definition at line 158 of file event.h.
Sampling precision in y direction.
Definition at line 160 of file event.h.
The documentation for this struct was generated from the following file:
- /build/buildd/platform-api-2.1.0+14.10.20140630/include/ubuntu/application/ui/input/event.h