> ## 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.

# GameInputRawDevicePhysicalUnitKind

> GameInputRawDevicePhysicalUnitKind

# GameInputRawDevicePhysicalUnitKind

<Warning>**已淘汰。** 此列舉已在 GameInput v1 中移除，目前的 API 中無法使用。</Warning>

定義用來解譯原始 HID 裝置報告項目中數值的實體單位系統。

## 語法

```cpp theme={null}
enum GameInputRawDevicePhysicalUnitKind
{
    GameInputRawDevicePhysicalUnitKindUnknown       = -1,
    GameInputRawDevicePhysicalUnitKindNone          = 0,
    GameInputRawDevicePhysicalUnitKindRotation      = 1,
    GameInputRawDevicePhysicalUnitKindLinear        = 2,
    GameInputRawDevicePhysicalUnitKindMiscellaneous = 3,
    GameInputRawDevicePhysicalUnitKindSI            = 4,
    GameInputRawDevicePhysicalUnitKindEnglish       = 5,
};
```

## 常數

| 常數 | 值 | 描述 |
| - | - | - |
| GameInputRawDevicePhysicalUnitKindUnknown | -1 | 未知的單位系統。 |
| GameInputRawDevicePhysicalUnitKindNone | 0 | 無因次或無單位。 |
| GameInputRawDevicePhysicalUnitKindRotation | 1 | 旋轉單位 (HID 旋轉系統)。 |
| GameInputRawDevicePhysicalUnitKindLinear | 2 | 線性單位 (HID 線性系統)。 |
| GameInputRawDevicePhysicalUnitKindMiscellaneous | 3 | 其他 HID 單位。 |
| GameInputRawDevicePhysicalUnitKindSI | 4 | SI (公制) 單位系統。 |
| GameInputRawDevicePhysicalUnitKindEnglish | 5 | 英制單位系統。 |

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v1** | 已移除。 |
| **v0** | 推出。 |

## 另請參閱

[已淘汰的 GameInput API 成員](/zh-TW/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputRawDeviceReportItemInfo](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo)


## Related topics

- [GameInputRawDevicePhysicalUnitKind](/reference/input/gameinput/deprecated/enums/gameinputrawdevicephysicalunitkind.md)
- [GameInputRawDeviceReportItemInfo](/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
