libxdo 0.6.0

Bindings to libxdo
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extern crate libxdo;

use libxdo::XDo;
use std::time::Duration;

fn main() {
    let xdo = XDo::new(None).unwrap();
    for _ in 0..10 {
        xdo.send_keysequence("y", 0).unwrap();
        xdo.send_keysequence("Return", 0).unwrap();
        std::thread::sleep(Duration::from_millis(100));
    }
}