[−][src]Function sdl2_sys::SDL_JoystickGetDevicePlayerIndex
pub unsafe extern "C" fn SDL_JoystickGetDevicePlayerIndex(
device_index: c_int
) -> c_int
Get the player index of a joystick, or -1 if it's not available This can be called before any joysticks are opened.