> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputRawDeviceReportKind

> GameInputRawDeviceReportKind

# GameInputRawDeviceReportKind

枚举原始设备报告的类型。

<a id="syntaxSection" />

## 语法

```cpp theme={null}
enum GameInputRawDeviceReportKind
{
    GameInputRawInputReport = 0,
    GameInputRawOutputReport = 1,
};
```

<a id="constantsSection" />

## 常量

| 常量                       | 说明    |
| ------------------------ | ----- |
| GameInputRawInputReport  | 输入报告。 |
| GameInputRawOutputReport | 输出报告。 |

<a id="remarksSection" />

## 备注

此枚举在 [GameInputRawDeviceReportInfo](/reference/input/gameinput/structs/gameinputrawdevicereportinfo) 结构中使用，它也由 [IGameInputDevice::CreateRawDeviceReport](/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_createrawdevicereport) 方法使用。

有关 GameInput API 的中级和高级用例，请参阅 [高级 GameInput](/build/core-features/common/input/advanced/input-advanced-topics) 主题。

<a id="requirementsSection" />

## 要求

**标头：** GameInput.h

**支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

<a id="seealsoSection" />

## 另请参阅

[GameInput 概述](/build/core-features/common/input/overviews/input-overview)\
[GameInput](/reference/input/gameinput/gameinput_members)

## 版本历史

| 版本     | 变更                                                                                                        |
| ------ | --------------------------------------------------------------------------------------------------------- |
| **v3** | **重新引入**（在 v0 中存在，在 v1 和 v2 中不存在）。`GameInputRawFeatureReport`（值 2）已移除；仅保留 `InputReport` 和 `OutputReport`。 |
| **v1** | 不存在（与 `IGameInputRawDeviceReport` 一起从 v0 中移除）。                                                            |
| **v0** | 引入。                                                                                                       |

## 附录：以前的版本

### v0

```cpp theme={null}
enum GameInputRawDeviceReportKind
{
    GameInputRawInputReport   = 0,
    GameInputRawOutputReport  = 1,
    GameInputRawFeatureReport = 2,
};
```


## Related topics

- [GameInput](/zh-CN/reference/input/gameinput/gameinput_members.md)
- [GameInputRawDeviceReportItemInfo](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInputRawDevicePhysicalUnitKind](/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind.md)
- [GameInputRawDeviceItemCollectionKind](/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
- [GameInputRawDeviceItemCollectionInfo](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)
