次の方法で共有


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[])

メッセージを受信したときに発生するイベント。

適用対象

こちらもご覧ください