IGameControllerInputSink 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
基底介面,定義撰寫自訂遊戲控制器類別所需的介面。
public interface class IGameControllerInputSink
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(536279330, 50752, 19576, 168, 32, 154, 113, 92, 85, 139, 203)]
struct IGameControllerInputSink
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(536279330, 50752, 19576, 168, 32, 154, 113, 92, 85, 139, 203)]
public interface IGameControllerInputSink
Public Interface IGameControllerInputSink
- 衍生
- 屬性
Windows 需求
裝置系列 |
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)
|
方法
OnInputResumed(UInt64) |
當控制器的輸入繼續時引發的事件。 |
OnInputSuspended(UInt64) |
暫停控制器輸入時引發的事件。 |