From 94c8b9639ca2d287c504345390585b80dc0d78cf Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 13 Sep 2024 03:07:52 +0200 Subject: Add `modified_key` to `keyboard::Event` --- core/src/keyboard/event.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/src/keyboard') 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, -- cgit