ICustomGameControllerFactory Schnittstelle

Definition

Stellt eine Factory zum Erstellen eines benutzerdefinierten Controllertyps dar.

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
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)

Methoden

CreateGameController(IGameControllerProvider)

Erstellt eine instance eines Spielcontrollers.

OnGameControllerAdded(IGameController)

Ereignis ausgelöst, wenn der Controller hinzugefügt wird.

OnGameControllerRemoved(IGameController)

Ereignis ausgelöst, wenn der Controller entfernt wird.

Gilt für: