summaryrefslogtreecommitdiffstats
path: root/core/src/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/keyboard')
-rw-r--r--core/src/keyboard/event.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/keyboard/event.rs b/core/src/keyboard/event.rs
index 0c97d26f..6e483f5b 100644
--- a/core/src/keyboard/event.rs
+++ b/core/src/keyboard/event.rs
@@ -36,6 +36,9 @@ pub enum Event {
/// The key released.
key: Key,
+ /// The key released with all keyboard modifiers applied, except Ctrl.
+ modified_key: Key,
+
/// The physical key released.
physical_key: key::Physical,