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

View file

@ -7,4 +7,3 @@ publish = false
[dependencies]
iced = { path = "../.." }
iced_native = { path = "../../native" }

View file

@ -1,8 +1,8 @@
use iced::{
button, pane_grid, scrollable, Align, Button, Column, Container, Element,
HorizontalAlignment, Length, PaneGrid, Sandbox, Scrollable, Settings, Text,
button, keyboard, pane_grid, scrollable, Align, Button, Column, Container,
Element, HorizontalAlignment, Length, PaneGrid, Sandbox, Scrollable,
Settings, Text,
};
use iced_native::input::keyboard;
pub fn main() {
Example::run(Settings::default())