[][src]Function sdl2_sys::SDL_JoystickInstanceID

pub unsafe extern "C" fn SDL_JoystickInstanceID(
    joystick: *mut SDL_Joystick
) -> SDL_JoystickID

Get the instance ID of an opened joystick or -1 if the joystick is invalid.