diff options
Diffstat (limited to 'core/src/keyboard')
-rw-r--r-- | core/src/keyboard/event.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/keyboard/event.rs b/core/src/keyboard/event.rs index 26c45717..6e483f5b 100644 --- a/core/src/keyboard/event.rs +++ b/core/src/keyboard/event.rs @@ -36,6 +36,12 @@ 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, + /// The location of the key. location: Location, |