GameControllerFactoryManager GameControllerFactoryManager GameControllerFactoryManager GameControllerFactoryManager Class

Definition

Manages factories for custom controllers.

public : static class GameControllerFactoryManager
static struct winrt::Windows::Gaming::Input::Custom::GameControllerFactoryManager
public static class GameControllerFactoryManager
Public Shared Class GameControllerFactoryManager
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Version history

Windows version SDK version Value added
1703 15063 TryGetFactoryControllerFromGameController

Methods

RegisterCustomFactoryForGipInterface(ICustomGameControllerFactory, Guid) RegisterCustomFactoryForGipInterface(ICustomGameControllerFactory, Guid) RegisterCustomFactoryForGipInterface(ICustomGameControllerFactory, Guid) RegisterCustomFactoryForGipInterface(ICustomGameControllerFactory, Guid)

Registers a factory for a custom Gip controller.

RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory, UInt16, UInt16) RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory, UInt16, UInt16) RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory, UInt16, UInt16) RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory, UInt16, UInt16)

Registers a factory for a custom hardware ID controller.

RegisterCustomFactoryForXusbType(ICustomGameControllerFactory, XusbDeviceType, XusbDeviceSubtype) RegisterCustomFactoryForXusbType(ICustomGameControllerFactory, XusbDeviceType, XusbDeviceSubtype) RegisterCustomFactoryForXusbType(ICustomGameControllerFactory, XusbDeviceType, XusbDeviceSubtype) RegisterCustomFactoryForXusbType(ICustomGameControllerFactory, XusbDeviceType, XusbDeviceSubtype)

Registers a factory for a Xusb type controller.

TryGetFactoryControllerFromGameController(ICustomGameControllerFactory, IGameController) TryGetFactoryControllerFromGameController(ICustomGameControllerFactory, IGameController) TryGetFactoryControllerFromGameController(ICustomGameControllerFactory, IGameController) TryGetFactoryControllerFromGameController(ICustomGameControllerFactory, IGameController)

Tries to get a game controller that belongs to the specified factory and references the same underlying game controller as the one that was specified.