Expand description
Helpers for mapping between winit and bevy types
Functionsยง
- convert_
element_ state - Converts a
winit::event::ElementStateto a BevyButtonState - convert_
enabled_ buttons - Converts a Bevy
EnabledButtonsto awinit::window::WindowButtons - convert_
keyboard_ input - Converts a
winit::event::KeyEventand a windowEntityto a BevyKeyboardInput - convert_
logical_ key - Converts a
winit::keyboard::Keyto a Bevybevy_input::keyboard::Key - convert_
mouse_ button - Converts a
winit::event::MouseButtonto a BevyMouseButton - convert_
native_ key - Converts a
winit::keyboard::NativeKeyto a BevyNativeKey - convert_
physical_ key_ code - Converts a
winit::keyboard::PhysicalKeyto a BevyKeyCode - convert_
physical_ native_ key_ code - Converts a
winit::keyboard::NativeKeyCodeto a BevyNativeKeyCode - convert_
resize_ direction - Converts a Bevy
CompassOctantto awinit::window::ResizeDirection - convert_
system_ cursor_ icon - Converts a Bevy
SystemCursorIconto awinit::window::CursorIcon. - convert_
touch_ input - Converts a
winit::event::Touch,winit::dpi::LogicalPosition<f64>and windowEntityto a BevyTouchInput - convert_
window_ level - Converts a Bevy
WindowLevelto awinit::window::WindowLevel - convert_
window_ theme - Converts a Bevy
WindowThemeto awinit::window::Theme - convert_
winit_ theme - Converts a
winit::window::Themeto a BevyWindowTheme