Freigeben über


GameControllerFactoryManager.RegisterCustomFactoryForHardwareId Methode

Definition

Registriert eine Factory für einen benutzerdefinierten 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)

Parameter

factory
ICustomGameControllerFactory

Die zu registrierende Factory.

hardwareVendorId
UInt16

unsigned short

uint16_t

Die Hardwareanbieter-ID.

hardwareProductId
UInt16

unsigned short

uint16_t

Die Hardwareprodukt-ID.

Gilt für: