Move common keyboard types to iced_core
Also expose them in `iced` through `iced_native` and `iced_web`.
This commit is contained in:
parent
1cd1582506
commit
05beb87852
10 changed files with 20 additions and 10 deletions
6
core/src/keyboard.rs
Normal file
6
core/src/keyboard.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
//! Reuse basic keyboard types.
|
||||
mod key_code;
|
||||
mod modifiers_state;
|
||||
|
||||
pub use key_code::KeyCode;
|
||||
pub use modifiers_state::ModifiersState;
|
||||
Loading…
Add table
Add a link
Reference in a new issue