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.