class PointerSample
Defined at line 1028 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
A description of each sampled data point for a pointer device.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_ui_pointerinjector::wire::PointerSample> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_ui_pointerinjector::wire::PointerSample> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_pointerinjector::wire::PointerSample>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void PointerSample ()
Defined at line 1030 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
void PointerSample (const PointerSample & other)
Defined at line 1031 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
void PointerSample (PointerSample && other)
Defined at line 1033 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
uint32_t & pointer_id ()
An identifier of the pointer that issued this event.
It is unique only to a specific pointer device.
bool has_pointer_id ()
::fuchsia_ui_pointerinjector::wire::EventPhase & phase ()
The state of this event in the pointer event stream's state machine.
bool has_phase ()
::fidl::Array<float, 2> & position_in_viewport ()
The position of this event, in the viewport's coordinate system.
bool has_position_in_viewport ()
PointerSample & operator= (const PointerSample & other)
Defined at line 1032 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
PointerSample & operator= (PointerSample && other)
Defined at line 1034 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
int64_t & scroll_v ()
Relative vertical scrolling displacement by detent.
bool has_scroll_v ()
int64_t & scroll_h ()
Relative horizontal scrolling displacement by detent.
bool has_scroll_h ()
::fidl::VectorView<uint8_t> & pressed_buttons ()
Identifiers of currently pressed buttons.
bool has_pressed_buttons ()
::fidl::Array<float, 2> & relative_motion ()
The movement of a mouse, independent of the viewport's coordinate
system.
bool has_relative_motion ()
double & scroll_v_physical_pixel ()
Recommended vertical scrolling displacement by physical pixel, it is
computed with accelerator, detent / mm to pixel ratio, etc.
bool has_scroll_v_physical_pixel ()
double & scroll_h_physical_pixel ()
Recommended horizontal scrolling displacement by physical pixel, it
is computed with accelerator, detent / mm to pixel ratio, etc.
bool has_scroll_h_physical_pixel ()
bool & is_precision_scroll ()
Indicated if the scroll event is from a precision scroll device (HI_RES
mouse or touchpad). Clients may want to play interpolation animations
on non precision scroll device for smooth scrolling.
bool has_is_precision_scroll ()
void ~PointerSample ()
Defined at line 1036 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder