sdlGetJoystickProductVersionForId function joystick
Get the product version of a joystick, if available.
This can be called before any joysticks are opened. If the product version isn't available this function returns 0.
\param instance_id the joystick instance ID. \returns the product version of the selected joystick. If called with an invalid instance_id, this function returns 0.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.2.0.
\sa SDL_GetJoystickProductVersion \sa SDL_GetJoysticks
extern SDL_DECLSPEC Uint16 SDLCALL SDL_GetJoystickProductVersionForID(SDL_JoystickID instance_id)
Implementation
int sdlGetJoystickProductVersionForId(int instanceId) {
  final sdlGetJoystickProductVersionForIdLookupFunction = _libSdl
      .lookupFunction<
        Uint16 Function(Uint32 instanceId),
        int Function(int instanceId)
      >('SDL_GetJoystickProductVersionForID');
  return sdlGetJoystickProductVersionForIdLookupFunction(instanceId);
}