Crate fidl_fuchsia_ui_pointer_common

Source

Structs§

MouseDeviceInfo
Information about a device that issues a mouse event stream.
MouseEvent
The self-sufficient, self-consistent collection of pointer-related data, sent from server to client.
MouseEventStreamInfo
The status of a mouse event stream, sent from server to client.
MousePointerSample
A description of each sampled data point in a mouse event stream.
MouseSourceWatchResponse
Rectangle
An axis-aligned rectangle. It is defined by its minimal and maximal extents in a coordinate system.
TouchDeviceInfo
Information about a device that issues touch event streams.
TouchEvent
The self-sufficient, self-consistent collection of pointer-related data, sent from server to client.
TouchInteractionId
A unique identifier for a “interaction” of touch events in an event stream. Touch events are observed as a succession of interactions, as fingers engage and disengage with the display.
TouchInteractionResult
The result of gesture disambiguation for a interaction of touch events, sent from server to client.
TouchPointerSample
A description of each sampled data point in a touch event stream. All fields are required.
TouchResponse
A feedback event per |Event|, sent from client to server.
TouchSourceUpdateResponseRequest
TouchSourceWatchRequest
TouchSourceWatchResponse
ViewParameters
The parameters of the associated view and viewport, sufficient to correctly interpret the position and scale of pointer events dispatched to this view.

Enums§

EventPhase
The possible states of a pointer event. These phases of events in a stream follow a state machine that starts with the ADD phase, followed by zero or more CHANGE phases, and finally terminates with REMOVE or CANCEL phase.
MouseViewStatus
A description of mouse event stream’s relationship to this view.
TouchInteractionStatus
A description of the interaction’s relationship to this client.
TouchResponseType
The possible interaction dispositions that a client can respond with to a given |TouchPointerSample|. Used as part of a gesture disambiguation scheme.

Constants§

MOUSE_MAX_EVENT
TOUCH_MAX_EVENT

Type Aliases§

Mat3
A floating-point 3x3 matrix.
Point2
A floating-point two-dimensional point.
RelativeMotion
The relative motion performed by a mouse device.
RelativeMotionRange
The valid values of relative motion for a mouse device.