Remove inconsistent input module in iced_native
This commit is contained in:
parent
137664ca88
commit
bb9ccc4f62
20 changed files with 27 additions and 45 deletions
|
|
@ -1,6 +1,2 @@
|
|||
//! Listen and react to keyboard events.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub use iced_winit::input::keyboard::{KeyCode, ModifiersState};
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
pub use iced_web::keyboard::{KeyCode, ModifiersState};
|
||||
pub use crate::runtime::keyboard::{Event, KeyCode, ModifiersState};
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
//! Listen and react to mouse events.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub use iced_winit::input::mouse::{Button, Event, ScrollDelta};
|
||||
pub use crate::runtime::mouse::{Button, Event, ScrollDelta};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue