SDL_GetJoystickSerial - Get the serial number of an opened joystick, if available.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_GetJoystickSerial(3)
Description
Returns the serial number of the joystick, or NULL if it is not available.
Function Parameters
joystick
the SDL_Joystick obtained from SDL_OpenJoystick().
Name
SDL_GetJoystickSerial - Get the serial number of an opened joystick, if available.
Return Value
Returns the serial number of the selected joystick, or NULL if unavailable.
Synopsis
#include<SDL3/SDL_joystick.h>constchar*SDL_GetJoystickSerial(SDL_Joystick*joystick);
