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

Énumère les types de commutateurs pris en charge par un périphérique d'entrée.

<a id="syntaxSection" />

## Syntaxe

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

<a id="constantsSection" />

## Constantes

| Constante | Description |
| - | - |
| GameInputUnknownSwitchKind | Type de commutateur non identifié. |
| GameInput2WaySwitch | Commutateur à deux positions. |
| GameInput4WaySwitch | Commutateur à quatre positions. |
| GameInput8WaySwitch | Commutateur à huit positions. |

<a id="remarksSection" />

## Remarques

Cette énumération est utilisée dans la structure [GameInputControllerSwitchInfo](/fr-CA/reference/input/gameinput/structs/gameinputcontrollerswitchinfo).

Pour les cas d'utilisation intermédiaires et avancés de l'API GameInput, consultez les rubriques [GameInput avancé](/fr-CA/build/core-features/common/input/advanced/input-advanced-topics).

<a id="requirementsSection" />

## Configuration requise

**En-tête :** GameInput.h

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

<a id="seealsoSection" />

## Voir aussi

[Vue d'ensemble de GameInput](/fr-CA/build/core-features/common/input/overviews/input-overview)\
[GameInput](/fr-CA/reference/input/gameinput/gameinput_members)

## Historique des versions

| Version | Modifications |
| - | - |
| **v0** | Introduit. |


## Related topics

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