Add modified_key to keyboard::Event
This commit is contained in:
parent
cbe91d4a7c
commit
94c8b9639c
2 changed files with 10 additions and 3 deletions
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue