SDL_GetJoystickID

Get the instance ID of an opened joystick.

extern (C) nothrow @nogc extern
SDL_GetJoystickID

Parameters

joystick SDL_Joystick*

an SDL_Joystick structure containing joystick information.

Return Value

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

Meta