class MouseInputReport
Defined at line 2254 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
`MouseReport` gives the relative movement of the mouse and currently
pressed buttons. Relative means the movement seen between the previous
report and this report. The client is responsible for tracking this and
converting it to absolute movement.
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.
void MouseInputReport ()
void MouseInputReport (MouseInputReport && other)
const int64_t & movement_x ()
Relative X positional displacement.
Optional. Present iff the mouse reports relative X movement.
Must not co-exist with `position_x` and `position_y`.
Defined at line 2264 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 2268 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_movement_x ()
Relative X positional displacement.
Optional. Present iff the mouse reports relative X movement.
Must not co-exist with `position_x` and `position_y`.
Defined at line 2276 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 2284 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const int64_t & movement_y ()
Relative Y positional displacement.
Optional. Present iff the mouse reports relative Y movement.
Must not co-exist with `position_x` and `position_y`.
Defined at line 2296 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 2300 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_movement_y ()
Relative Y positional displacement.
Optional. Present iff the mouse reports relative Y movement.
Must not co-exist with `position_x` and `position_y`.
Defined at line 2308 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 2316 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const int64_t & scroll_v ()
Relative vertical scrolling displacement.
Optional. Present iff the mouse reports relative vertical scroll.
Defined at line 2327 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 2331 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_scroll_v ()
Relative vertical scrolling displacement.
Optional. Present iff the mouse reports relative vertical scroll.
Defined at line 2338 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 2346 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const int64_t & scroll_h ()
Relative horizontal scrolling displacement.
Optional. Present iff the mouse reports relative horizontal scroll.
Defined at line 2357 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 2361 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_scroll_h ()
Relative horizontal scrolling displacement.
Optional. Present iff the mouse reports relative horizontal scroll.
Defined at line 2368 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 2376 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::std::vector<uint8_t> & pressed_buttons ()
A list of currently pressed buttons.
Optional. Empty iff no button is pressed. Present iff the mouse reports
button state.
Defined at line 2388 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_pressed_buttons ()
Defined at line 2392 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::std::vector<uint8_t> * mutable_pressed_buttons ()
A list of currently pressed buttons.
Optional. Empty iff no button is pressed. Present iff the mouse reports
button state.
Defined at line 2400 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_pressed_buttons ()
Defined at line 2408 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const int64_t & position_x ()
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.
Must not co-exist with `movement_x` and `movement_y`.
Defined at line 2421 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 2425 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_position_x ()
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.
Must not co-exist with `movement_x` and `movement_y`.
Defined at line 2434 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 2442 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const int64_t & position_y ()
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.
Must not co-exist with `movement_x` and `movement_y`.
Defined at line 2455 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 2459 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_position_y ()
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.
Must not co-exist with `movement_x` and `movement_y`.
Defined at line 2468 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 2476 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
MouseInputReport & set_movement_x (int64_t _value)
MouseInputReport & set_movement_y (int64_t _value)
MouseInputReport & set_scroll_v (int64_t _value)
MouseInputReport & set_scroll_h (int64_t _value)
MouseInputReport & set_pressed_buttons (::std::vector<uint8_t> _value)
MouseInputReport & set_position_x (int64_t _value)
MouseInputReport & set_position_y (int64_t _value)
void ~MouseInputReport ()
MouseInputReport & operator= (MouseInputReport && other)
::std::unique_ptr<MouseInputReport> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,MouseInputReport *_value,size_t_offset)
zx_status_t Clone (MouseInputReport * _result)