GipGameControllerProvider 类

定义

表示使用 GIP.SYS 连接到系统的物理游戏控制器。

public ref class GipGameControllerProvider sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GipGameControllerProvider final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GipGameControllerProvider
Public NotInheritable Class GipGameControllerProvider
继承
Object Platform::Object IInspectable GipGameControllerProvider
属性
实现

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

属性

FirmwareVersionInfo

控制器的固件版本。

HardwareProductId

控制器的硬件产品 ID。

HardwareVendorId

控制器的硬件供应商 ID。

HardwareVersionInfo

包含有关控制器的硬件版本的信息。

IsConnected

指示控制器是否已连接的布尔值。

方法

SendMessage(GipMessageClass, Byte, Byte[])

发送消息。

SendReceiveMessage(GipMessageClass, Byte, Byte[], Byte[])

发送消息请求。

UpdateFirmwareAsync(IInputStream)

尝试异步更新控制器的固件。

适用于

另请参阅