rdev 0.4.0

Listen and send keyboard and mouse events on Windows, Linux and MacOS.
Documentation
1
2
3
4
5
6
use rdev::display_size;
fn main() {
    let (w, h) = display_size().unwrap();

    println!("Your screen is {:?}x{:?}", w, h);
}