Mouse-rs
Mouse-rs is a rust library for controlling your mouse from a rust program, without having to go into your kernel yourself.
This project was loosely based on the python mouse library. Currently it supports macos and windows, linux is on the roadmap
Installation
Add mouse-rs to your cargo.toml
[]
= "0.4"
Example
This is a simple example that moves your mouse to a position on screen and presses the left button.
use ;
Usage
For more information please visit the docs
Linux disclaimer
Sometimes linux can run into problems you'd have to install a library.
Ubuntu