[][src]Function tetra::input::start_gamepad_vibration

pub fn start_gamepad_vibration(
    ctx: &mut Context,
    gamepad_id: usize,
    strength: f32,
    duration: u32
)

Sets the specified gamepad's motors to vibrate for a set duration, specified in milliseconds. After this time has passed, the vibration will automatically stop.