Macro carbide_winit::v020_convert_mouse_button[][src]

macro_rules! v020_convert_mouse_button {
    ($mouse_button:expr) => { ... };
}

Maps winit's mouse button to carbide's mouse button.

Expects a winit::MouseButton as input and returns a carbide_core::input::MouseButton as output.

Requires that both the carbide_core and winit crates are in the crate root.