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

Enumerates types of switches supported by an input device.

## Syntax

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

## Constants

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

## Remarks

This enumeration is used in the [GameInputControllerSwitchInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputcontrollerswitchinfo.md) structure.

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

## Requirements

**Header:** GameInput.h

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

## See also

[Overview of GameInput](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\
[GameInput](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)

## Version History

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


## Related topics

- [GameInputControllerSwitchInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputcontrollerswitchinfo.md)
- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputkind.md)
- [GameInputElementKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputelementkind.md)
- [GameInputRawDeviceItemCollectionKind (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/enums/gameinputrawdeviceitemcollectionkind.md)
