IGipGameControllerInputSink 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义自定义 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[]) |
收到消息时引发的事件。 |