[][src]Function sdl2_sys::SDL_JoystickNameForIndex

pub unsafe extern "C" fn SDL_JoystickNameForIndex(
    device_index: c_int
) -> *const c_char

Get the implementation dependent name of a joystick. This can be called before any joysticks are opened. If no name can be found, this function returns NULL.