Get the USB product ID of an opened controller, if available.
Defined in SDL_gamecontroller.h
Uint16 SDL_GameControllerGetProduct(SDL_GameController *gamecontroller);
SDL_GameController * | gamecontroller | the game controller object to query. |
(Uint16) Return the USB product ID, or zero if unavailable.
If the product ID isn't available this function returns 0.
This function is available since SDL 2.0.6.