Get the serial number of an opened controller, if available.
Defined in SDL_gamecontroller.h
const char * SDL_GameControllerGetSerial(SDL_GameController *gamecontroller);
SDL_GameController * | gamecontroller | the game controller object to query. |
(const char *) Return the serial number, or NULL if unavailable.
Returns the serial number of the controller, or NULL if it is not available.
This function is available since SDL 2.0.14.