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

Rust library to control the mouse

Results 10 mouse-rs issues
Sort by recently updated
recently updated
newest added

I was going mad at how the pointer location was inaccurate before I figured this out: windows scaling options also scales the mouse location when using move_to(). ![image](https://user-images.githubusercontent.com/16920817/169707050-ed3cd15c-b370-4496-948c-0ea73b9b767e.png) Despite my...

first of all, great package, fits my use case perfectly. it'd be awesome to be able to lock the mouse in a box (not sure if this would be outside...

enhancement

Currently we only support X11, with the fast adoption of wayland we need to provide native support

enhancement

Hello, this library looks pretty good. `Mouse::get_position` returns the mouse's global position anywhere on the screen. How about having a method for getting the mouse's position relative to the window?

enhancement

I know that this crate doesn't have any animation logic, however I'd like to find a way to use this lib (move mouse cursor) with animation. Is there any crates...

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

enhancement
good first issue

- rewrote docs - ran `cargo clippy -- -W clippy::pedantic -W clippy::nursery -W clippy::cargo` Windows and Linux modules should also be updated

it can move at the normal window, but only cannot move in osu. when my mouse in osu window, I can move it free.

Hi, is there a way to determine on what monitor the mouse cursor is currently at? I would like to write a simple utility tool, that allows to move the...