ICustomGameControllerFactory Interface

Definition

Represents a factory for creating a custom controller type.

public interface class ICustomGameControllerFactory
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(1772138078, 30094, 19646, 172, 230, 98, 21, 95, 233, 18, 111)]
struct ICustomGameControllerFactory
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(1772138078, 30094, 19646, 172, 230, 98, 21, 95, 233, 18, 111)]
public interface ICustomGameControllerFactory
Public Interface ICustomGameControllerFactory
Attributes

Windows 10 requirements

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

Methods

CreateGameController(IGameControllerProvider)

Creates an instance of a game controller.

OnGameControllerAdded(IGameController)

Event raised when the controller is added.

OnGameControllerRemoved(IGameController)

Event raised when the controller is removed.

Applies to