Function tetra::input::set_gamepad_vibration[][src]

pub fn set_gamepad_vibration(
    ctx: &mut Context,
    gamepad_id: usize,
    strength: f32
)

Sets the specified gamepad’s motors to vibrate indefinitely.