[−][src]Function tetra::input::get_gamepad_stick_position
pub fn get_gamepad_stick_position(
ctx: &Context,
gamepad_id: usize,
stick: GamepadStick
) -> Vec2<f32>
Returns the current position of the specified gamepad control stick.
If the gamepad is disconnected, this will always return (0.0, 0.0)
.