This interface is used to interact with the virtual Mouse device on the server.
Definition mouse.h:10
MouseKeyType
General mouse button types.
Definition mouse.h:15
@ RIGHT
The right mouse button.
@ MIDDLE
The middle mouse button (scroll wheel)
@ BACKWARD
The back side button.
@ LEFT
The left mouse button.
@ FORWARD
The forward side button.
virtual void OnMouseScroll(float delta) const =0
Rotate the scroll wheel of the cloud mouse.
virtual void OnMouseMoveTo(int32_t x, int32_t y) const =0
After you get the coordinates of the local View, you need to convert the coordinates to the coordinat...
virtual void OnMouseKey(const MouseKeyType &key, bool down) const =0
Trigger a click event of the cloud mouse.
virtual void SetMouseCursorStyle(const CursorStyle &cursor_style) const =0
Set the cursor style.
CursorStyle
The style of the cloud cursor.
Definition mouse.h:41
@ NORMAL
The default cursor style.
@ HUGE
The big cursor style.