[−][src]Function sdl2_sys::SDL_JoystickOpen
pub unsafe extern "C" fn SDL_JoystickOpen(
device_index: c_int
) -> *mut SDL_Joystick
Open a joystick for use. The index passed as an argument refers to the N'th joystick on the system. This index is not the value which will identify this joystick in future joystick events. The joystick's instance id (::SDL_JoystickID) will be used there instead.
\return A joystick identifier, or NULL if an error occurred.