Merge branch 'master' into feature/event-subscriptions
This commit is contained in:
commit
9b84b6e403
13 changed files with 510 additions and 62 deletions
|
|
@ -334,6 +334,7 @@ pub trait Application: Sized {
|
|||
winit::event::KeyboardInput {
|
||||
virtual_keycode: Some(virtual_keycode),
|
||||
state,
|
||||
modifiers,
|
||||
..
|
||||
},
|
||||
..
|
||||
|
|
@ -349,6 +350,7 @@ pub trait Application: Sized {
|
|||
events.push(Event::Keyboard(keyboard::Event::Input {
|
||||
key_code: conversion::key_code(virtual_keycode),
|
||||
state: conversion::button_state(state),
|
||||
modifiers: conversion::modifiers_state(modifiers),
|
||||
}));
|
||||
}
|
||||
WindowEvent::CloseRequested => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue