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

Enumerates types of switches supported by an input device.

<a id="syntaxSection" />

## Syntax

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

<a id="constantsSection" />

## Constants

| Constant                   | Description                  |
| -------------------------- | ---------------------------- |
| GameInputUnknownSwitchKind | Unidentified switch type.    |
| GameInput2WaySwitch        | Switch with two positions.   |
| GameInput4WaySwitch        | Switch with four positions.  |
| GameInput8WaySwitch        | Switch with eight positions. |

<a id="remarksSection" />

## Remarks

This enumeration is used in the [GameInputControllerSwitchInfo](/reference/input/gameinput/structs/gameinputcontrollerswitchinfo) structure.

For intermediate and advanced use cases of the GameInput API, see [Advanced GameInput](/build/core-features/common/input/advanced/input-advanced-topics) topics.

<a id="requirementsSection" />

## Requirements

**Header:** GameInput.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[Overview of GameInput](/build/core-features/common/input/overviews/input-overview)\
[GameInput](/reference/input/gameinput/gameinput_members)

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v0**  | Introduced. |


## Related topics

- [GameInputControllerSwitchInfo](/reference/input/gameinput/structs/gameinputcontrollerswitchinfo.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](/reference/input/gameinput/enums/gameinputkind.md)
- [GameInputElementKind](/reference/input/gameinput/enums/gameinputelementkind.md)
- [GameInputRawDeviceItemCollectionKind](/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
