Function sdl2::joystick::name_for_index [] [src]

pub fn name_for_index(id: i32) -> SdlResult<String>

Return the name of the joystick at index id