Partager via


GameControllerFactoryManager.RegisterCustomFactoryForHardwareId Méthode

Définition

Inscrit une fabrique pour un contrôleur d’ID matériel personnalisé.

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)

Paramètres

factory
ICustomGameControllerFactory

Fabrique à inscrire.

hardwareVendorId
UInt16

unsigned short

uint16_t

ID du fournisseur de matériel.

hardwareProductId
UInt16

unsigned short

uint16_t

ID de produit matériel.

S’applique à