This commit is contained in:
Robin Appelman 2023-06-18 13:14:39 +02:00
commit 025ee6a620
6 changed files with 123 additions and 21 deletions

View file

@ -15,7 +15,7 @@ async fn main() {
pin_mut!(stream);
while let Some(shortcut) = stream.next().await {
dbg!(shortcut);
while let Some(event) = stream.next().await {
println!("{} {}", event.shortcut, event.state);
}
}