Function sdl2_sys::SDL_GameControllerGetProduct
source · pub unsafe extern "C" fn SDL_GameControllerGetProduct(
gamecontroller: *mut SDL_GameController,
) -> Uint16
Expand description
Get the USB product ID of an opened controller, if available. If the product ID isn’t available this function returns 0.