Function SDL_GameControllerGetSerial
pub unsafe extern "C" fn SDL_GameControllerGetSerial(
gamecontroller: *mut _SDL_GameController,
) -> *const i8
Available on crate feature
dep_sdl2
only.Expand description
Get the serial number of an opened controller, if available.
Returns the serial number of the controller, or NULL if it is not available.
\param gamecontroller the game controller object to query. \return the serial number, or NULL if unavailable.
\since This function is available since SDL 2.0.14.