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

# GameInputLocation

> GameInputLocation

# GameInputLocation

<Warning>**非推奨。** この列挙型は GameInput v1 で削除され、現在の API では利用できません。</Warning>

入力デバイス上のコントロールの物理的な位置を識別する定数を定義します。

## 構文

```cpp theme={null}
enum GameInputLocation
{
    GameInputLocationUnknown        = -1,
    GameInputLocationChassis        = 0,
    GameInputLocationDisplay        = 1,
    GameInputLocationLeftHand       = 2,
    GameInputLocationRightHand      = 3,
    GameInputLocationLeftJoystick   = 4,
    GameInputLocationRightJoystick  = 5,
    GameInputLocationFrontFace      = 6,
    GameInputLocationBackFace       = 7,
};
```

## 定数

| 定数                             | 値  | 説明                 |
| ------------------------------ | -- | ------------------ |
| GameInputLocationUnknown       | -1 | 位置が不明です。           |
| GameInputLocationChassis       | 0  | デバイスのシャーシ上にあります。   |
| GameInputLocationDisplay       | 1  | ディスプレイ上または近傍にあります。 |
| GameInputLocationLeftHand      | 2  | 左手のグリップ上にあります。     |
| GameInputLocationRightHand     | 3  | 右手のグリップ上にあります。     |
| GameInputLocationLeftJoystick  | 4  | 左サムスティック上にあります。    |
| GameInputLocationRightJoystick | 5  | 右サムスティック上にあります。    |
| GameInputLocationFrontFace     | 6  | デバイスの前面にあります。      |
| GameInputLocationBackFace      | 7  | デバイスの背面にあります。      |

## バージョン履歴

| バージョン  | 変更内容     |
| ------ | -------- |
| **v1** | 削除されました。 |
| **v0** | 導入されました。 |

## 関連項目

[非推奨の GameInput API メンバー](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputControllerAxisInfo](/reference/input/gameinput/deprecated/structs/gameinputcontrolleraxisinfo)
[GameInputControllerButtonInfo](/reference/input/gameinput/deprecated/structs/gameinputcontrollerbuttoninfo)
