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

# GameInputVersion

> GameInputVersion

Describes a four-part version number.

## Syntax

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

### Members

*major*\

Type: uint16\_t

Major version number.

*minor*\

Type: uint16\_t

Minor version number.

*build*\

Type: uint16\_t

Build number.

*revision*\

Type: uint16\_t

Revision number.

## Remarks

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

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

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


## Related topics

- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [GameInputDeviceInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInput API Versioning](https://docs.xbox.com/build/core-features/common/input/overviews/input-versioning.md)
- [GameInputKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputkind.md)
- [GameInputLabel](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)
