Function sdl2_sys::SDL_GameControllerGetSerial
source ยท pub unsafe extern "C" fn SDL_GameControllerGetSerial(
gamecontroller: *mut SDL_GameController,
) -> *const c_char
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.