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

TypeNameDescription
int32_txThe absolute horizontal screen coordinate of the cursor if relative is false, or the delta (can be negative) if relative is true.
int32_tyThe absolute vertical screen coordinate of the cursor if relative is false, or the delta (can be negative) if relative is true.
boolrelativetrue for relative mode, false for absolute mode. See details.