//! A function for converting a `winit::Event` to a `conrod::event::Input`.
/// Types that have access to a `winit::Window` and can provide the necessary dimensions and hidpi
/// factor for converting `winit::Event`s to `conrod::event::Input`, as well as set the mouse
/// cursor.
///
/// This allows users to pass references to window types like `glium::Display`,
/// `glium::glutin::Window` or `winit::Window`