Get the serial number of an opened controller, if available.
const char * SDL_GameControllerGetSerial(SDL_GameController *gamecontroller);
gamecontroller | the game controller object to query. |
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.