Struct crayon::input::InputSystem
[−]
[src]
pub struct InputSystem { /* fields omitted */ }
The InputSystem
struct are used to manage all the events and corresponding
internal states.
Methods
impl InputSystem
[src]
pub fn new(setup: InputSetup) -> Self
[src]
[src]
Returns the multi-thread friendly parts of InputSystem
.
pub fn reset(&mut self)
[src]
Reset input to initial states.
ⓘImportant traits for &'a mut Wpub fn set_touch_emulation(&mut self, emulation: bool) -> &Self
[src]
ⓘImportant traits for &'a mut W
Set touch emulation by mouse.