[][src]Crate conrod_winit

A function for converting a winit::Event to a conrod::event::Input.

Re-exports

pub extern crate winit;

Traits

WinitWindow

Types that have access to a winit::Window and can provide the necessary dimensions and hidpi factor for converting winit::Events to conrod::event::Input, as well as set the mouse cursor.

Functions

convert_event

A function for converting a winit::Event to a conrod::event::Input.

convert_mouse_cursor

Convert a given conrod mouse cursor to the corresponding winit cursor type.

convert_window_event

A function for converting a winit::WindowEvent to a conrod::event::Input.

map_key

Maps winit's key to a conrod Key.

map_mouse

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