Function rumble

Source
pub fn rumble(
    controller: Controller,
    rumble_pattern: &str,
) -> Result<(), PROSErr>
Expand description

Rumbles the controller

The rumble pattern is a string consisting of the characters ‘.’, ‘-’, and ’ ’, where dots are short rumbles, dashes are long rumbles, and spaces are pauses. Maximum supported length is 8 characters

§Errors

Returns PROSErr::Access if another resource is currently trying to access the controller