IGameControllerInputSink 接口

定义

定义编写自定义游戏控制器类所需的接口的基本接口。

public interface class IGameControllerInputSink
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(536279330, 50752, 19576, 168, 32, 154, 113, 92, 85, 139, 203)]
struct IGameControllerInputSink
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(536279330, 50752, 19576, 168, 32, 154, 113, 92, 85, 139, 203)]
public interface IGameControllerInputSink
Public Interface IGameControllerInputSink
派生
属性

Windows 要求

要求 说明
设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

方法

名称 说明
OnInputResumed(UInt64)

恢复控制器的输入时引发的事件。

OnInputSuspended(UInt64)

挂起控制器的输入时引发的事件。

适用于