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

# GameInputVersion

> GameInputVersion

# GameInputVersion

Describes a four-part version number.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
struct GameInputVersion
{  
    uint16_t major;  
    uint16_t minor;  
    uint16_t build;  
    uint16_t revision;  
};
```

<a id="membersSection" />

### Members

*major*<br />
Type: uint16\_t

Major version number.

*minor*<br />
Type: uint16\_t

Minor version number.

*build*<br />
Type: uint16\_t

Build number.

*revision*<br />
Type: uint16\_t

Revision number.

<a id="remarksSection" />

## Remarks

This structure is used in the [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo) structure. `GameInputDeviceInfo` is used by the [IGameInputDevice::GetDeviceInfo](/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo) method.

The structure can support versioning of hardware, firmware, or software.

<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                                                                          |
| ------- | -------------------------------------------------------------------------------- |
| **v2**  | **Re-introduced** with same layout as v0: `major`, `minor`, `build`, `revision`. |
| **v1**  | **Not present** (removed from v0).                                               |
| **v0**  | Introduced.                                                                      |


## Related topics

- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInput API versioning](/build/core-features/common/input/overviews/input-versioning.md)
- [IGameInput](/reference/input/gameinput/interfaces/igameinput/igameinput.md)
- [GameInputKind](/reference/input/gameinput/enums/gameinputkind.md)
