Get the player index of an opened joystick.
For XInput controllers this returns the XInput user index. Many joysticks will not be able to supply this information.
the SDL_Joystick obtained from SDL_OpenJoystick().
The player index, or -1 if it's not available.
SDL_SetJoystickPlayerIndex
See Implementation
Get the player index of an opened joystick.
For XInput controllers this returns the XInput user index. Many joysticks will not be able to supply this information.