Refactor KeyCode into Key and Location
This commit is contained in:
parent
534c7dd7b0
commit
64d1ce5532
24 changed files with 1277 additions and 461 deletions
|
|
@ -1,8 +1,11 @@
|
|||
//! Listen to keyboard events.
|
||||
pub mod key;
|
||||
|
||||
mod event;
|
||||
mod key_code;
|
||||
mod location;
|
||||
mod modifiers;
|
||||
|
||||
pub use event::Event;
|
||||
pub use key_code::KeyCode;
|
||||
pub use key::Key;
|
||||
pub use location::Location;
|
||||
pub use modifiers::Modifiers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue