Function sdl2_sys::SDL_JoystickGetDevicePlayerIndex
source · 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.
\since This function is available since SDL 2.0.9.