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

# GameInputSwitchKind

> GameInputSwitchKind

# GameInputSwitchKind

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

<a id="syntaxSection" />

## 構文

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

<a id="constantsSection" />

## 定数

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

<a id="remarksSection" />

## 解説

この列挙型は [GameInputControllerSwitchInfo](/reference/input/gameinput/structs/gameinputcontrollerswitchinfo) 構造体で使用されます。

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)

## バージョン履歴

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