todos
parent
0af94250fb
commit
ca192aa4ac
|
|
@ -31,6 +31,7 @@ struct Main {
|
|||
ntfy: String,
|
||||
configuring: Option<Message>,
|
||||
inputs: Inputs,
|
||||
// TODO keys down
|
||||
flags: Flags,
|
||||
}
|
||||
|
||||
|
|
@ -136,8 +137,9 @@ impl Application for Main {
|
|||
}
|
||||
},
|
||||
Message::EventOccurred(event) => {
|
||||
eprintln!("{:?}", event);
|
||||
match event {
|
||||
iced::event::Event::Keyboard(keyboard::Event::KeyPressed{
|
||||
iced::event::Event::Keyboard(keyboard::Event::KeyPressed{ // TODO key released
|
||||
key_code,
|
||||
modifiers: _,
|
||||
..
|
||||
|
|
@ -168,6 +170,7 @@ impl Application for Main {
|
|||
self.ntfy = format!("push a key to bind to {:?}", msg.clone());
|
||||
},
|
||||
}
|
||||
// TODO self.flags.output_stream.put(s.chars().collect()); for all keys down
|
||||
return Command::none();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
todo:
|
||||
- gotta stream keydown on more intervals
|
||||
- https://crates.io/crates/handlebars
|
||||
- learn rust; https://rust-book.cs.brown.edu/
|
||||
- gui keyboard; https://docs.rs/iced/latest/iced/keyboard/index.html
|
||||
|
|
@ -33,3 +34,5 @@ done:
|
|||
ts: Wed Mar 22 07:27:13 MDT 2023
|
||||
- todo: to rdkafka for v0.10.0
|
||||
ts: Wed Mar 22 07:27:13 MDT 2023
|
||||
- todo: gotta get keydown, keyup events into gui
|
||||
ts: Thu Mar 23 17:07:06 MDT 2023
|
||||
|
|
|
|||
Loading…
Reference in New Issue