[−][src]Function sdl2_sys::SDL_JoystickGetPlayerIndex
pub unsafe extern "C" fn SDL_JoystickGetPlayerIndex(
joystick: *mut SDL_Joystick
) -> c_int
Get the player index of an opened joystick, or -1 if it's not available
For XInput controllers this returns the XInput user index.