SDL_GetGamepadID

Get the instance ID of an opened gamepad.

extern (C) nothrow @nogc extern
SDL_GetGamepadID

Parameters

gamepad SDL_Gamepad*

a gamepad identifier previously returned by SDL_OpenGamepad().

Return Value

the instance ID of the specified gamepad on success or 0 on failure; call SDL_GetError() for more information.

Meta