Move common keyboard types to iced_core

Also expose them in `iced` through `iced_native` and `iced_web`.
This commit is contained in:
Héctor Ramón Jiménez 2020-03-17 07:28:28 +01:00
parent 1cd1582506
commit 05beb87852
10 changed files with 20 additions and 10 deletions

6
core/src/keyboard.rs Normal file
View 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;