☰
Debian Codegraph
@
0.13.2-1
/
/
examples
/
evtest.rs
☽
☼
examples/evtest.rs
code
plain
raw
symbols
SCIP
Apache-2.0
or
Expat
2019 Corey Richardson <
[email protected]
>
debian/copyright
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
}