ParsecMouseMotionMessage
Mouse motion message.
Member of ParsecMessage
. Mouse motion can be sent in either relative or absolute mode via the relative
member. Absolute mode treats the x
and y
values as the exact destination for where the cursor will appear. These values are sent from the client in device screen coordinates and are translated in accordance with the values set via ParsecClientSetDimensions
. Relative mode x
and y
values are not affected by ParsecClientSetDimensions
and move the cursor with a signed delta value from its previous location.
Fields
Type | Name | Description |
---|---|---|
int32_t | x | The absolute horizontal screen coordinate of the cursor if relative is false , or the delta (can be negative) if relative is true . |
int32_t | y | The absolute vertical screen coordinate of the cursor if relative is false , or the delta (can be negative) if relative is true . |
uint8_t | stream | Video stream index. Must be less than NUM_VSTREAMS . |
bool | relative | true for relative mode, false for absolute mode. See details. |
bool | scaleRelative | true if relative coordinates should be scaled to the host's dimensions internally. |