Add repeat field to keyboard::Event::KeyPressed
This commit is contained in:
parent
4f6ccb78fe
commit
4108838713
3 changed files with 6 additions and 0 deletions
|
|
@ -249,6 +249,7 @@ pub fn window_event(
|
|||
location,
|
||||
logical_key,
|
||||
physical_key,
|
||||
repeat,
|
||||
..
|
||||
} = event;
|
||||
|
||||
|
|
@ -279,6 +280,7 @@ pub fn window_event(
|
|||
modifiers,
|
||||
location,
|
||||
text,
|
||||
repeat,
|
||||
}
|
||||
}
|
||||
winit::event::ElementState::Released => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue