Add modified_key to keyboard::Event

This commit is contained in:
Héctor Ramón Jiménez 2024-09-13 03:07:52 +02:00
parent cbe91d4a7c
commit 94c8b9639c
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 10 additions and 3 deletions

View file

@ -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,