[][src]Macro conrod_winit::convert_key

macro_rules! convert_key {
    ($keycode:expr) => { ... };
}

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.