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