IXusbGameControllerInputSink 接口

定义

定义自定义 Xusb 控制器接口所需的方法。

public interface class IXusbGameControllerInputSink : IGameControllerInputSink
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2997624213, 28363, 17075, 138, 171, 2, 84, 1, 202, 71, 18)]
struct IXusbGameControllerInputSink : IGameControllerInputSink
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2997624213, 28363, 17075, 138, 171, 2, 84, 1, 202, 71, 18)]
public interface IXusbGameControllerInputSink : IGameControllerInputSink
Public Interface IXusbGameControllerInputSink
Implements IGameControllerInputSink
属性
实现

Windows 要求

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

方法

名称 说明
OnInputReceived(UInt64, Byte, Byte[])

收到输入时引发的事件。

OnInputResumed(UInt64)

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

(继承自 IGameControllerInputSink)
OnInputSuspended(UInt64)

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

(继承自 IGameControllerInputSink)

适用于

另请参阅