[][src]Function amethyst_input::get_input_axis_simple

pub fn get_input_axis_simple<T: BindingTypes>(
    name: &Option<T::Axis>,
    input: &InputHandler<T>
) -> f32

Gets the input axis value from the InputHandler. If the name is None, it will return the default value of the axis (0.0).