Trait input_manager::IManager [−][src]
pub trait IManager<A, B, C> { fn new() -> Self; fn get_axis(&self, binding: A) -> Option<&Axis>; fn get_button(&self, binding: B) -> Option<&Button>; fn get_states(&self) -> &HashMap<Binding<A, B>, State>; fn get_changed_buttons(&self) -> HashMap<&B, &Button>; fn get_button_pressed(&self, _: B) -> bool; }