Function SDL_JoystickGetSerial
pub unsafe extern "C" fn SDL_JoystickGetSerial(
joystick: *mut _SDL_Joystick,
) -> *const i8
Available on crate feature
dep_sdl2
only.Expand description
Get the serial number of an opened joystick, if available.
Returns the serial number of the joystick, or NULL if it is not available.
\param joystick the SDL_Joystick obtained from SDL_JoystickOpen() \returns the serial number of the selected joystick, or NULL if unavailable.
\since This function is available since SDL 2.0.14.