diff options
author | 2024-09-13 03:07:52 +0200 | |
---|---|---|
committer | 2024-09-13 03:10:40 +0200 | |
commit | 94c8b9639ca2d287c504345390585b80dc0d78cf (patch) | |
tree | 1aa834c349a5646fd9920d13af0457b5dc7b0a84 /core/src/keyboard | |
parent | cbe91d4a7cc6ef105747884425a3f12e00247856 (diff) | |
download | iced-94c8b9639ca2d287c504345390585b80dc0d78cf.tar.gz iced-94c8b9639ca2d287c504345390585b80dc0d78cf.tar.bz2 iced-94c8b9639ca2d287c504345390585b80dc0d78cf.zip |
Add `modified_key` to `keyboard::Event`
Diffstat (limited to 'core/src/keyboard')
-rw-r--r-- | core/src/keyboard/event.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/keyboard/event.rs b/core/src/keyboard/event.rs index 09625b18..26c45717 100644 --- a/core/src/keyboard/event.rs +++ b/core/src/keyboard/event.rs @@ -15,6 +15,9 @@ pub enum Event { /// The key pressed. key: Key, + /// The key pressed with all keyboard modifiers applied, except Ctrl. + modified_key: Key, + /// The physical key pressed. physical_key: key::Physical, |