1use noct::{Key, KeyboardControllable, Noct};
2use std::thread;
3use std::time::Duration;
4
5fn main() {
6 thread::sleep(Duration::from_secs(2));
7 let mut noct = Noct::new();
8
9 noct.key_down(Key::Layout('a'));
10 thread::sleep(Duration::from_secs(1));
11 noct.key_up(Key::Layout('a'));
12}