共用方式為


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)

適用於

另請參閱