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

# GameInputSwitchKind

> GameInputSwitchKind

# GameInputSwitchKind

入力デバイスがサポートするスイッチの種類を列挙します。

## 構文

```cpp theme={null}
enum GameInputSwitchKind
{
    GameInputUnknownSwitchKind = -1,
    GameInput2WaySwitch        =  0,
    GameInput4WaySwitch        =  1,
    GameInput8WaySwitch        =  2
};
```

## 定数

| 定数 | 説明 |
| - | - |
| GameInputUnknownSwitchKind | 識別されていないスイッチ タイプ。 |
| GameInput2WaySwitch | 2 つの位置を持つスイッチ。 |
| GameInput4WaySwitch | 4 つの位置を持つスイッチ。 |
| GameInput8WaySwitch | 8 つの位置を持つスイッチ。 |

## 解説

この列挙型は [GameInputControllerSwitchInfo](https://docs.xbox.com/ja-jp/reference/input/gameinput/structs/gameinputcontrollerswitchinfo.md) 構造体で使用されます。

GameInput API の中級および上級の使用例については、[高度な GameInput](https://docs.xbox.com/ja-jp/build/core-features/common/input/advanced/input-advanced-topics.md) トピックを参照してください。

## 要件

**ヘッダー:** GameInput.h

**サポートされているプラットフォーム:** Windows、XBOX One ファミリ本体、および XBOX Series 本体

## 関連項目

[GameInput の概要](https://docs.xbox.com/ja-jp/build/core-features/common/input/overviews/input-overview.md)\
[GameInput](https://docs.xbox.com/ja-jp/reference/input/gameinput/gameinput_members.md)

## バージョン履歴

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


## Related topics

- [GameInput API メンバー](https://docs.xbox.com/ja-jp/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](https://docs.xbox.com/ja-jp/reference/input/gameinput/enums/gameinputkind.md)
- [GameInputRawDeviceItemCollectionKind (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
- [GetInputKind](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getinputkind.md)
- [GameInputKeyboardKind](https://docs.xbox.com/ja-jp/reference/input/gameinput/enums/gameinputkeyboardkind.md)
