Luna::HID::set_mouse_pos
RV set_mouse_pos(i32 x, i32 y)
Sets the OS mouse cursor position. The position is based on the screen coordinates. This only works for platforms that support mouse input.
Parameters
-
in x
The new X position of the mouse cursor in screen coordinates.
-
in y
The new Y position of the mouse cursor in screen coordinates.