class MouseInputDescriptor
Defined at line 5021 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.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 Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
MouseInputDescriptor & set_movement_x (::fuchsia::input::report::Axis _value)
MouseInputDescriptor & set_movement_y (::fuchsia::input::report::Axis _value)
MouseInputDescriptor & set_scroll_v (::fuchsia::input::report::Axis _value)
MouseInputDescriptor & set_scroll_h (::fuchsia::input::report::Axis _value)
MouseInputDescriptor & set_buttons (::std::vector<uint8_t> _value)
MouseInputDescriptor & set_position_x (::fuchsia::input::report::Axis _value)
MouseInputDescriptor & set_position_y (::fuchsia::input::report::Axis _value)
void MouseInputDescriptor ()
void MouseInputDescriptor (MouseInputDescriptor && other)
void ~MouseInputDescriptor ()
MouseInputDescriptor & operator= (MouseInputDescriptor && other)
::std::unique_ptr<MouseInputDescriptor> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,MouseInputDescriptor *_value,size_t_offset)
zx_status_t Clone (MouseInputDescriptor * _result)
const ::fuchsia::input::report::Axis & movement_x ()
The range of relative X movement.
Optional. Present iff the mouse reports relative X movement.
Defined at line 5030 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_movement_x ()
Defined at line 5034 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::report::Axis * mutable_movement_x ()
The range of relative X movement.
Optional. Present iff the mouse reports relative X movement.
Defined at line 5041 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_movement_x ()
Defined at line 5049 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::fuchsia::input::report::Axis & movement_y ()
The range of relative Y movement.
Optional. Present iff the mouse reports relative Y movement.
Defined at line 5060 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_movement_y ()
Defined at line 5064 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::report::Axis * mutable_movement_y ()
The range of relative Y movement.
Optional. Present iff the mouse reports relative Y movement.
Defined at line 5071 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_movement_y ()
Defined at line 5079 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::fuchsia::input::report::Axis & scroll_v ()
The range of relative vertical scroll.
Optional. Present iff the mouse reports relative vertical scroll.
Defined at line 5090 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_scroll_v ()
Defined at line 5094 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::report::Axis * mutable_scroll_v ()
The range of relative vertical scroll.
Optional. Present iff the mouse reports relative vertical scroll.
Defined at line 5101 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_scroll_v ()
Defined at line 5109 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::fuchsia::input::report::Axis & scroll_h ()
The range of relative horizontal scroll.
Optional. Present iff the mouse reports relative horizontal scroll.
Defined at line 5120 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_scroll_h ()
Defined at line 5124 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::report::Axis * mutable_scroll_h ()
The range of relative horizontal scroll.
Optional. Present iff the mouse reports relative horizontal scroll.
Defined at line 5131 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_scroll_h ()
Defined at line 5139 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::std::vector<uint8_t> & buttons ()
IDs of the mouse buttons.
Optional. Present iff the mouse reports button state. Must be non-empty
if present.
Defined at line 5151 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_buttons ()
Defined at line 5155 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::std::vector<uint8_t> * mutable_buttons ()
IDs of the mouse buttons.
Optional. Present iff the mouse reports button state. Must be non-empty
if present.
Defined at line 5163 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_buttons ()
Defined at line 5171 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::fuchsia::input::report::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.
Defined at line 5183 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_position_x ()
Defined at line 5187 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::report::Axis * mutable_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.
Defined at line 5195 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_position_x ()
Defined at line 5203 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::fuchsia::input::report::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.
Defined at line 5215 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_position_y ()
Defined at line 5219 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::report::Axis * mutable_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.
Defined at line 5227 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_position_y ()
Defined at line 5235 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h