GameControllerFactoryManager Class

Definition

Manages factories for custom controllers.

public ref class GameControllerFactoryManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameControllerFactoryManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class GameControllerFactoryManager
Public Class GameControllerFactoryManager
Inheritance
Object Platform::Object IInspectable GameControllerFactoryManager
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Version history

Windows version SDK version Value added
1703 15063 TryGetFactoryControllerFromGameController

Methods

RegisterCustomFactoryForGipInterface(ICustomGameControllerFactory, Guid)

Registers a factory for a custom Gip controller.

RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory, UInt16, UInt16)

Registers a factory for a custom hardware ID controller.

RegisterCustomFactoryForXusbType(ICustomGameControllerFactory, XusbDeviceType, XusbDeviceSubtype)

Registers a factory for a Xusb type controller.

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.

Applies to