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

# GameInputElementKind

> GameInputElementKind

# GameInputElementKind

Enumerates the element kind of a given input.

## Syntax

```cpp theme={null}
enum GameInputElementKind
{
    GameInputElementKindNone   = 0,
    GameInputElementKindAxis   = 1,
    GameInputElementKindButton = 2,
    GameInputElementKindSwitch = 3
};
```

## Constants

| Constant                   | Description                                                        |
| -------------------------- | ------------------------------------------------------------------ |
| GameInputElementKindNone   | Indicates that the element kind is not known or there is no input. |
| GameInputElementKindAxis   | Indicates that the element is an axis.                             |
| GameInputElementKindButton | Indicates that the element is a button.                            |
| GameInputElementKindSwitch | Indicates that the element is a switch.                            |

## Remarks

Member of [GameInputAxisMapping](/reference/input/gameinput/structs/gameinputaxismapping).

Member of [GameInputButtonMapping](/reference/input/gameinput/structs/gameinputbuttonmapping).

## Requirements

**Header:** GameInput.h

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

## See also

[Input API Overview](/build/core-features/common/input/overviews/input-overview)<br />
[GameInput](/reference/input/gameinput/gameinput_members)

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v3**  | Introduced. |


## Related topics

- [GameInputButtonMapping](/reference/input/gameinput/structs/gameinputbuttonmapping.md)
- [GameInputAxisMapping](/reference/input/gameinput/structs/gameinputaxismapping.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputKind](/reference/input/gameinput/enums/gameinputkind.md)
- [GameInputSwitchKind](/reference/input/gameinput/enums/gameinputswitchkind.md)
