GameControllerFactoryManager.RegisterCustomFactoryForHardwareId Method

Definition

Registers a factory for a custom hardware ID controller.

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)

Parameters

factory
ICustomGameControllerFactory

The factory to register.

hardwareVendorId
UInt16

unsigned short

uint16_t

The hardware vendor ID.

hardwareProductId
UInt16

unsigned short

uint16_t

The hardware product ID.

Applies to