Add modified_key to keyboard::Event::KeyReleased

This commit is contained in:
Héctor Ramón Jiménez 2024-10-02 16:53:10 +02:00
parent 8b34f99b02
commit 32cdc99e92
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 4 additions and 0 deletions

View file

@ -262,6 +262,7 @@ pub fn window_event(
winit::event::ElementState::Released => {
keyboard::Event::KeyReleased {
key,
modified_key,
physical_key,
modifiers,
location,