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

# GameInputRawDeviceReportKind

> GameInputRawDeviceReportKind

# GameInputRawDeviceReportKind

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

## 语法

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

## 常量

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

## 备注

此枚举在 [GameInputRawDeviceReportInfo](https://docs.xbox.com/zh-CN/reference/input/gameinput/structs/gameinputrawdevicereportinfo.md) 结构中使用，它也由 [IGameInputDevice::CreateRawDeviceReport](https://docs.xbox.com/zh-CN/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_createrawdevicereport.md) 方法使用。

有关 GameInput API 的中级和高级用例，请参阅 [高级 GameInput](https://docs.xbox.com/zh-CN/build/core-features/common/input/advanced/input-advanced-topics.md) 主题。

## 要求

**标头：** GameInput.h

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

## 另请参阅

[GameInput 概述](https://docs.xbox.com/zh-CN/build/core-features/common/input/overviews/input-overview.md)\
[GameInput](https://docs.xbox.com/zh-CN/reference/input/gameinput/gameinput_members.md)

## 版本历史

| 版本 | 变更 |
| - | - |
| **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 API 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/gameinput_members.md)
- [GameInputRawDeviceReportItemInfo（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInputRawDeviceItemCollectionKind（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
- [GameInputRawDevicePhysicalUnitKind（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind.md)
- [GameInputRawDeviceItemCollectionInfo（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputrawdeviceitemcollectioninfo.md)
