macro_rules! v022_convert_mouse_button {
($mouse_button:expr) => { ... };
}
Expand description
Maps winit’s mouse button to conrod’s mouse button.
Expects a winit::MouseButton
as input and returns a conrod_core::input::MouseButton
as
output.
Requires that both the conrod_core
and winit
crates are in the crate root.