Set the player index of an opened joystick.
void SDL_JoystickSetPlayerIndex(SDL_Joystick *joystick, int player_index);
joystick |
the SDL_Joystick obtained from SDL_JoystickOpen() |
player_index |
the player index to set. |
This function is available since SDL 2.0.12.