GameControllerFactoryManager.RegisterCustomFactoryForHardwareId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.