共用方式為


IGipGameControllerInputSink 介面

定義

定義自訂 Gip 控制器介面所需的方法。

public interface class IGipGameControllerInputSink : IGameControllerInputSink
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2718993087, 2545, 17340, 161, 64, 128, 248, 153, 236, 54, 251)]
struct IGipGameControllerInputSink : IGameControllerInputSink
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2718993087, 2545, 17340, 161, 64, 128, 248, 153, 236, 54, 251)]
public interface IGipGameControllerInputSink : IGameControllerInputSink
Public Interface IGipGameControllerInputSink
Implements IGameControllerInputSink
屬性
實作

Windows 需求

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

方法

OnInputResumed(UInt64)

當控制器的輸入繼續時引發的事件。

(繼承來源 IGameControllerInputSink)
OnInputSuspended(UInt64)

暫停控制器輸入時引發的事件。

(繼承來源 IGameControllerInputSink)
OnKeyReceived(UInt64, Byte, Boolean)

收到金鑰時引發的事件。

OnMessageReceived(UInt64, GipMessageClass, Byte, Byte, Byte[])

收到訊息時引發的事件。

適用於

另請參閱