diff options
author | 2024-10-02 17:02:13 +0200 | |
---|---|---|
committer | 2024-10-02 17:02:13 +0200 | |
commit | 5ee82b2ef0dc6ec1dfec1827b6687cdacf871ce2 (patch) | |
tree | b81d687b14474688d6c8c69e2b3b2f7aeb4effda /core | |
parent | 40abed6e5c8a2bde08f7455800e916555468196d (diff) | |
parent | 32cdc99e928876ef75c6543362665d82cee63f4f (diff) | |
download | iced-5ee82b2ef0dc6ec1dfec1827b6687cdacf871ce2.tar.gz iced-5ee82b2ef0dc6ec1dfec1827b6687cdacf871ce2.tar.bz2 iced-5ee82b2ef0dc6ec1dfec1827b6687cdacf871ce2.zip |
Merge pull request #2608 from ibaryshnikov/haskell
added physical_key to KeyReleased event
Diffstat (limited to 'core')
-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, |