Поделиться через


GameControllerFactoryManager.RegisterCustomFactoryForHardwareId Метод

Определение

Регистрирует фабрику для пользовательского контроллера идентификаторов оборудования.

public:
 static void RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory ^ factory, unsigned short hardwareVendorId, unsigned short hardwareProductId);
 static void RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory const& factory, uint16_t const& hardwareVendorId, uint16_t const& hardwareProductId);
public static void RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory factory, ushort hardwareVendorId, ushort hardwareProductId);
function registerCustomFactoryForHardwareId(factory, hardwareVendorId, hardwareProductId)
Public Shared Sub RegisterCustomFactoryForHardwareId (factory As ICustomGameControllerFactory, hardwareVendorId As UShort, hardwareProductId As UShort)

Параметры

factory
ICustomGameControllerFactory

Регистрируемая фабрика.

hardwareVendorId
UInt16

unsigned short

uint16_t

Идентификатор поставщика оборудования.

hardwareProductId
UInt16

unsigned short

uint16_t

Идентификатор аппаратного продукта.

Применяется к