Crate winit_input_map
source ·Structs§
- input system. define actions and their key binds and then see if their pressing, pressed or released. get mouse position and how much its moved. you can use anythin that implements the
Into<usize>
trait as an action, but it’s recommended to use an action enum.
Enums§
Functions§
- converts two bools into a -1.0 to 1.0 float value. useful for movement controls