SDL_GamepadBinding ** SDL_GetGamepadBindings(SDL_Gamepad *gamepad, int *count);
| SDL_Gamepad * | gamepad | ゲームパッド |
| int * | count | バインド情報の数の代入先へのポインタ |
(SDL_GamepadBinding **) NULL終端のバインド情報ポインタの配列を戻す. 失敗のときNULLを戻す. SDL_GetError()を呼んで詳細を知ることができる. これは1回のメモリ確保を行っているため, 不要になったときSDL_free()で解放する必要がある.
この関数はどのスレッドからも安全に呼べる.