Function SDL_GetJoystickSerial
pub unsafe extern "C" fn SDL_GetJoystickSerial(
joystick: *mut SDL_Joystick,
) -> *const i8
Available on crate feature
dep_sdl3
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.
§Parameters
joystick
: theSDL_Joystick
obtained fromSDL_OpenJoystick()
.
§Return value
Returns the serial number of the selected joystick, or NULL if unavailable.
§Availability
This function is available since SDL 3.2.0.