pub unsafe extern "C" fn SDL_JoystickGetDevicePlayerIndex(
    device_index: c_int
) -> c_int
Expand description

Get the player index of a joystick, or -1 if it’s not available.

This can be called before any joysticks are opened.