From 8b34f99b02858a8a0986fd106236f322b35f34a0 Mon Sep 17 00:00:00 2001 From: ibaryshnikov Date: Thu, 26 Sep 2024 17:13:32 +0300 Subject: added physical_key to KeyReleased 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 26c45717..0c97d26f 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 physical key released. + physical_key: key::Physical, + /// The location of the key. location: Location, -- cgit