GameControllerFactoryManager 類別

定義

管理自訂控制器的處理站。

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
繼承
Object Platform::Object IInspectable GameControllerFactoryManager
屬性

Windows 需求

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

備註

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1703 15063 TryGetFactoryControllerFromGameController

方法

RegisterCustomFactoryForGipInterface(ICustomGameControllerFactory, Guid)

註冊自訂 Gip 控制器的處理站。

RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory, UInt16, UInt16)

註冊自訂硬體識別碼控制器的處理站。

RegisterCustomFactoryForXusbType(ICustomGameControllerFactory, XusbDeviceType, XusbDeviceSubtype)

註冊 Xusb 類型控制器的處理站。

TryGetFactoryControllerFromGameController(ICustomGameControllerFactory, IGameController)

嘗試取得屬於指定處理站的遊戲控制器,並參考與所指定遊戲控制器相同的基礎遊戲控制器。

適用於