From a002e4d738535e6ca779c71231f7b84864b9a8d0 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Tue, 4 Jun 2024 15:00:16 -0400 Subject: Refactored + Renamed + Added Docs --- src/input/events.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/input/events.rs (limited to 'src/input/events.rs') diff --git a/src/input/events.rs b/src/input/events.rs new file mode 100644 index 0000000..cf46445 --- /dev/null +++ b/src/input/events.rs @@ -0,0 +1,6 @@ +use bevy::prelude::*; +use crossterm::event::Event; + +/// An event triggered when a crossterm input event is received +#[derive(Event)] +pub struct TerminalInputEvent(pub Event); -- cgit v1.2.3