class MouseInputDescriptor
Defined at line 5671 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
Describes the format of the input report that will be sent from the mouse
to the device.
At least one of the fields below must be present.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_input_report::wire::MouseInputDescriptor> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::MouseInputDescriptor> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::MouseInputDescriptor>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void MouseInputDescriptor ()
Defined at line 5673 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void MouseInputDescriptor (const MouseInputDescriptor & other)
Defined at line 5674 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
::fuchsia_input::wire::Axis & movement_x ()
The range of relative X movement.
Optional. Present iff the mouse reports relative X movement.
bool has_movement_x ()
::fuchsia_input::wire::Axis & movement_y ()
The range of relative Y movement.
Optional. Present iff the mouse reports relative Y movement.
bool has_movement_y ()
MouseInputDescriptor & operator= (const MouseInputDescriptor & other)
Defined at line 5675 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void MouseInputDescriptor (MouseInputDescriptor && other)
Defined at line 5676 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
MouseInputDescriptor & operator= (MouseInputDescriptor && other)
Defined at line 5677 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
::fuchsia_input::wire::Axis & scroll_v ()
The range of relative vertical scroll.
Optional. Present iff the mouse reports relative vertical scroll.
bool has_scroll_v ()
::fuchsia_input::wire::Axis & scroll_h ()
The range of relative horizontal scroll.
Optional. Present iff the mouse reports relative horizontal scroll.
bool has_scroll_h ()
::fidl::VectorView<uint8_t> & buttons ()
IDs of the mouse buttons.
Optional. Present iff the mouse reports button state. Must be non-empty
if present.
bool has_buttons ()
::fuchsia_input::wire::Axis & position_x ()
The range of the position of X.
The main use of position is from virtual mice like over VNC.
Optional. Present iff the mouse reports absolute X position.
bool has_position_x ()
::fuchsia_input::wire::Axis & position_y ()
The range of the position of Y.
The main use of position is from virtual mice like over VNC.
Optional. Present iff the mouse reports absolute Y position.
bool has_position_y ()
MouseInputDescriptor & set_movement_x (::fidl::ObjectView< ::fuchsia_input::wire::Axis> elem)
MouseInputDescriptor & set_movement_x (std::nullptr_t )
MouseInputDescriptor & clear_movement_x ()
MouseInputDescriptor & set_movement_y (::fidl::ObjectView< ::fuchsia_input::wire::Axis> elem)
MouseInputDescriptor & set_movement_y (std::nullptr_t )
MouseInputDescriptor & clear_movement_y ()
MouseInputDescriptor & clear_scroll_v ()
MouseInputDescriptor & clear_buttons ()
void ~MouseInputDescriptor ()
Defined at line 5679 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
MouseInputDescriptor & set_movement_x (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5746 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
MouseInputDescriptor & set_movement_y (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5755 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
MouseInputDescriptor & set_buttons (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5782 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
MouseInputDescriptor & set_scroll_v (::fidl::ObjectView< ::fuchsia_input::wire::Axis> elem)
MouseInputDescriptor & set_scroll_v (std::nullptr_t )
MouseInputDescriptor & set_scroll_h (::fidl::ObjectView< ::fuchsia_input::wire::Axis> elem)
MouseInputDescriptor & set_scroll_h (std::nullptr_t )
MouseInputDescriptor & clear_scroll_h ()
MouseInputDescriptor & set_buttons (::fidl::ObjectView< ::fidl::VectorView<uint8_t>> elem)
MouseInputDescriptor & set_buttons (std::nullptr_t )
MouseInputDescriptor & set_position_x (::fidl::ObjectView< ::fuchsia_input::wire::Axis> elem)
MouseInputDescriptor & set_position_x (std::nullptr_t )
MouseInputDescriptor & clear_position_x ()
template <typename... Args>
MouseInputDescriptor & set_scroll_v (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5764 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
MouseInputDescriptor & set_scroll_h (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5773 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
MouseInputDescriptor & set_position_x (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5791 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
MouseInputDescriptor & set_position_y (::fidl::ObjectView< ::fuchsia_input::wire::Axis> elem)
MouseInputDescriptor & set_position_y (std::nullptr_t )
MouseInputDescriptor & clear_position_y ()
void MouseInputDescriptor (::fidl::AnyArena & allocator)
void MouseInputDescriptor (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::MouseInputDescriptor>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::MouseInputDescriptor>> && frame_ptr)
template <typename... Args>
MouseInputDescriptor & set_position_y (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5800 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder