19 #ifndef UBUNTU_APPLICATION_UI__EVENT_DEPRECATED_H_
20 #define UBUNTU_APPLICATION_UI__EVENT_DEPRECATED_H_
47 struct HardwareSwitchEvent
88 #endif // UBUNTU_APPLICATION_UI__EVENT_DEPRECATED_H_
float y_offset
Movement in y direction since down event.
size_t pointer_count
Number of pointers reported in this event.
int32_t button_state
State of buttons of the device.
Event originates from something moving, e.g., a wheel, a mouse, a finger on a touchpad.
#define UBUNTU_APPLICATION_UI_INPUT_EVENT_MAX_POINTER_COUNT
int32_t flags
Flags associated with this event.
int32_t switch_value
The value reported by the switch.
nsecs_t event_time
Timestamp that marks when this event happened.
nsecs_t down_time
Timestamp that marks the down event.
int32_t action
Action signalled by this event.
float x_precision
Sampling precision in x direction.
int32_t meta_state
State of the meta modifiers (ALT, CTRL, SHIFT).
uint32_t policy_flags
Policy flags.
int32_t edge_flags
Set for touches intersecting a touchscreen's edges, requires HW support.
float x_offset
Movement in x direction since down event.
Event originates from an additional button attached to the device's HW, e.g., power button...
nsecs_t event_time
Timestamp when the event happened.
float y_precision
Sampling precision in y direction.
EventType type
Type of the event.
struct PointerCoordinate pointer_coordinates[UBUNTU_APPLICATION_UI_INPUT_EVENT_MAX_POINTER_COUNT]
Pointer information, valid from [0,pointer_count).
int32_t switch_code
The scan code of the switch.
int32_t source_id
Source that this event originated from.
Event originates from a keyboard.
nsecs_t down_time
Timestamp that marks the down event.
int32_t device_id
Device that this event originated from.