[−][src]Macro conrod_winit::v022_convert_mouse_button
macro_rules! v022_convert_mouse_button { ($mouse_button:expr) => { ... }; }
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.