todos
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user