class Config
Defined at line 408 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
A specification for an injector |Device|.
All fields required.
Public Methods
void Config ()
Defined at line 410 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
void Config (const Config & other)
Defined at line 411 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
void Config (Config && other)
Defined at line 413 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_ui_pointerinjector::wire::Config> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_ui_pointerinjector::wire::Config> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_pointerinjector::wire::Config>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
uint32_t & device_id ()
An identifier for the pointer device that issues pointer event streams.
bool has_device_id ()
::fuchsia_ui_pointerinjector::wire::DeviceType & device_type ()
A characterization of the pointer device.
bool has_device_type ()
::fuchsia_ui_pointerinjector::wire::Context & context ()
The scope and coordinate system of the injector |Device|.
Note: To avoid circular injection scenarios, |context| must be a
strict ancestor of |target|.
bool has_context ()
Config & operator= (const Config & other)
Defined at line 412 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
Config & operator= (Config && other)
Defined at line 414 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h
::fuchsia_ui_pointerinjector::wire::Target & target ()
The region where dispatch is attempted for injected events.
Note: To avoid circular injection scenarios, |target| must be a strict
descendant of |context|.
bool has_target ()
::fuchsia_ui_pointerinjector::wire::Viewport & viewport ()
The initial viewport for injected events. Subsequent modifications to
the viewport can also be sent synchronously with injected events.
bool has_viewport ()
::fuchsia_ui_pointerinjector::wire::DispatchPolicy & dispatch_policy ()
A specification of the UI clients in |target| that may have injected
events dispatched to them.
For example, if |dispatch_policy| is |EXCLUSIVE|, then only |target| may
have injected events dispatched to it, regardless of other factors, such
as surface occlusion by clients inside and outside of |target|.
bool has_dispatch_policy ()
::fuchsia_input_report::wire::Axis & scroll_v_range ()
Range of vertical scroll values issued by the device.
bool has_scroll_v_range ()
::fuchsia_input_report::wire::Axis & scroll_h_range ()
Range of horizontal scroll values issued by the device.
bool has_scroll_h_range ()
::fidl::VectorView<uint8_t> & buttons ()
Mouse button identifiers issued by the device, in priority order.
The priority order of mouse buttons is a policy choice enacted by the injector.
This priority order is conveyed verbatim to UI clients via
[`fuchsia.ui.pointer.MouseDeviceInfo.buttons`], so button priority is shared consistently
between multiple UI clients. For example, to swap the left-side (0x1) and right-side (0x2)
physical buttons from their traditional roles of primary and secondary mouse buttons, the
injector can specify [0x2, 0x1, ... ] in this [`buttons`] vector.
Note that preserving the physical button ID is also a policy choice. If preserved, a
discerning UI client can distinguish between the ground truth (which physical button was
pressed) versus the desired interpretation (what priority does that physical button have, on
the current system).
bool has_buttons ()
::fidl::Array< ::fuchsia_input_report::wire::Axis, 2> & relative_motion_range ()
Range of X and Y motion by a mouse device.
bool has_relative_motion_range ()
void ~Config ()
Defined at line 416 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