enigo 0.0.4

Enigo lets you control your mouse (and keyboard in the future) in an abstract way on different operating systems (currently only Linux and macOS – Win and Redox planned)
Documentation

enigo

Cross platform input simulation in Rust

  • Linux X11 mouse
  • Linux X11 text
  • Linux X11 keyboard DSL
  • Linux Wayland mouse
  • Linux Wayland text
  • Linux Wayland keyboard DSL
  • macOS mouse
  • macOS text
  • macOS keyboard DSL
  • Win mouse
  • Win text
  • Win keyboard DSL

let mut enigo = Enigo::new();

enigo.mouse_move_to(500, 200);
enigo.mouse_click(1);
enigo.key_sequence("Das → ❤ ist ein Hörz!!!");

for more look at examples