SDL_GetGamepadBindings

Get the SDL joystick layer bindings for a gamepad.

extern (C) nothrow @nogc extern
SDL_GetGamepadBindings

Parameters

gamepad SDL_Gamepad*

a gamepad.

count int*

a pointer filled in with the number of bindings returned.

Return Value

a NULL terminated array of pointers to bindings or NULL on failure; call SDL_GetError() for more information. This is a single allocation that should be freed with SDL_free() when it is no longer needed.

Meta