mouse-rs icon indicating copy to clipboard operation
mouse-rs copied to clipboard

Implement move_by

Open LightSrc opened this issue 1 year ago • 2 comments

This function would move mouse by x, y. Instead of moving mouse absolute it would move relative.

LightSrc avatar Jun 26 '23 10:06 LightSrc

Should be simple enough, subtracting the current position I guess?

AltF02 avatar Aug 01 '23 11:08 AltF02

It would be more efficient to send a relative mouse event to just move the mouse along the X-axis and Y-axis, rather than retrieving the current mouse position. This approach is preferable because it avoids issues when trying to move the mouse for example within a virtual desktop.

LightSrc avatar Oct 31 '23 17:10 LightSrc