共用方式為


ICustomGameControllerFactory 介面

定義

表示建立自訂控制器類型的處理站。

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
屬性

Windows 需求

規格需求 Description
裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

方法

名稱 Description
CreateGameController(IGameControllerProvider)

建立遊戲控制器的實例。

OnGameControllerAdded(IGameController)

新增控制器時引發的事件。

OnGameControllerRemoved(IGameController)

移除控制器時引發的事件。

適用於