Crate conrod_winit
source ·Expand description
A function for converting a winit::Event
to a conrod::event::Input
.
Re-exports
pub extern crate winit;
Traits
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.Functions
A function for converting a
winit::Event
to a conrod::event::Input
.Convert a given conrod mouse cursor to the corresponding winit cursor type.
A function for converting a
winit::WindowEvent
to a conrod::event::Input
.Maps winit’s key to a conrod
Key
.Maps winit’s mouse button to conrod’s mouse button.