summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/src/input.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/engine/src/input.rs b/engine/src/input.rs
index 7bd664f..c8ba16a 100644
--- a/engine/src/input.rs
+++ b/engine/src/input.rs
@@ -6,7 +6,14 @@ use ecs::Sole;
use crate::event::{PreUpdate as PreUpdateEvent, Start as StartEvent};
use crate::vector::Vec2;
-use crate::window::{Key, KeyState, Window};
+use crate::window::Window;
+
+mod reexports
+{
+ pub use crate::window::{Key, KeyState};
+}
+
+pub use reexports::*;
#[derive(Debug, Clone, Default, Sole)]
pub struct Keys