aboutsummaryrefslogtreecommitdiffstats
path: root/src/events.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/events.rs')
-rw-r--r--src/events.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events.rs b/src/events.rs
index 76fda81..beafbec 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -31,6 +31,9 @@ pub enum Event {
/// An event from the mouse has been received.
MouseInput(ElementState, MouseButton),
+
+ /// The event loop was woken up by another thread.
+ Awakened,
}
pub type ScanCode = u8;