Macro conrod_winit::convert_key [−][src]
macro_rules! convert_key {
($keycode : expr) => { ... };
}
Expand description
Maps winit’s key to a conrod Key
.
Expects a winit::VirtualKeyCode
as input and returns a conrod_core::input::keyboard::Key
.
Requires that both the winit
and conrod_core
crates exist within the crate root.