class MouseInputReport
Defined at line 1108 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.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 Methods
void MouseInputReport (Storage_ storage)
void MouseInputReport ()
Defined at line 1113 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
void MouseInputReport (MouseInputReport && )
Defined at line 1114 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
void MouseInputReport (const MouseInputReport & other)
MouseInputReport & operator= (MouseInputReport && )
Defined at line 1115 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
MouseInputReport & operator= (const MouseInputReport & other)
bool operator== (const MouseInputReport & other)
bool operator!= (const MouseInputReport & other)
bool IsEmpty ()
const std::optional<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`.
::std::optional<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`.
MouseInputReport & movement_x (std::optional<int64_t> value)
Relative X positional displacement.
Optional. Present iff the mouse reports relative X movement.
Must not co-exist with `position_x` and `position_y`.
const std::optional<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`.
::std::optional<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`.
MouseInputReport & movement_y (std::optional<int64_t> value)
Relative Y positional displacement.
Optional. Present iff the mouse reports relative Y movement.
Must not co-exist with `position_x` and `position_y`.
const std::optional<int64_t> & scroll_v ()
Relative vertical scrolling displacement.
Optional. Present iff the mouse reports relative vertical scroll.
::std::optional<int64_t> & scroll_v ()
Relative vertical scrolling displacement.
Optional. Present iff the mouse reports relative vertical scroll.
MouseInputReport & scroll_v (std::optional<int64_t> value)
Relative vertical scrolling displacement.
Optional. Present iff the mouse reports relative vertical scroll.
const std::optional<int64_t> & scroll_h ()
Relative horizontal scrolling displacement.
Optional. Present iff the mouse reports relative horizontal scroll.
::std::optional<int64_t> & scroll_h ()
Relative horizontal scrolling displacement.
Optional. Present iff the mouse reports relative horizontal scroll.
MouseInputReport & scroll_h (std::optional<int64_t> value)
Relative horizontal scrolling displacement.
Optional. Present iff the mouse reports relative horizontal scroll.
const std::optional< ::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.
::std::optional< ::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.
MouseInputReport & pressed_buttons (std::optional< ::std::vector<uint8_t>> value)
A list of currently pressed buttons.
Optional. Empty iff no button is pressed. Present iff the mouse reports
button state.
const std::optional<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`.
::std::optional<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`.
MouseInputReport & position_x (std::optional<int64_t> value)
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`.
const std::optional<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`.
::std::optional<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`.
MouseInputReport & position_y (std::optional<int64_t> value)
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`.
void MouseInputReport (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits