Debian Codegraph @

examples/evtest.rs

raw symbols SCIP
1 //! Similar to the evtest tool.
2
3 // cli/"tui" shared between the evtest examples
4 mod _pick_device;
5
6 fn main() {
7 let mut d = _pick_device::pick_device();
8 println!("{d}");
9 println!("Events:");
10 loop {
11 for ev in d.fetch_events().unwrap() {
12 println!("{ev:?}");
13 }
14 }
15 }