[][src]Function tetra::input::get_gamepad_axis_position

pub fn get_gamepad_axis_position(
    ctx: &Context,
    gamepad_index: usize,
    axis: GamepadAxis
) -> f32

Returns the current position of the specified gamepad axis.

If the gamepad is disconnected, this will always return 0.0.