目次 - API(機能別) - ゲームコントローラー - SDL_GameControllerSetPlayerIndex
SDL_GameControllerSetPlayerIndex
オープンされたゲームコントローラーにプレイヤー番号を設定する
構文
void SDL_GameControllerSetPlayerIndex(SDL_GameController* gamecontroller, int player_index)
引数
gamecontroller | コントローラー |
player_index | このコントローラーに設定するプレイヤー番号 |
バージョン
SDL 2.0.12以降
SDL Wikiへのリンク
SDL_GameControllerSetPlayerIndex - SDL Wiki