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

# IGameInputDevice::GetFirmwareVersion

> Gets the firmware version of the input device.

Gets the firmware version of the input device.

## Syntax

```cpp theme={null}
void GetFirmwareVersion(
    GameInputVersion* version
);
```

### Parameters

*version*   \_Out\_\
Type: [GameInputVersion](https://docs.xbox.com/reference/input/gameinput/structs/gameinputversion.md)\*

Receives the firmware version of the device.

### Return value

Type: void

## Remarks

Not all devices report a firmware version. If the device doesn't report one, all members of *version* are set to 0.

The firmware version is read when the device connects and doesn't change for the lifetime of the device object.

In GameInput v3 and earlier, this information was available from the `firmwareVersion` member of the [GameInputDeviceInfo](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputdeviceinfo.md) structure returned by [IGameInputDevice::GetDeviceInfo](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md).

## Requirements

**Header:** GameInput.h

**Library:** gameinput.lib

**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)\
[IGameInputDevice](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)\
[GameInputVersion](https://docs.xbox.com/reference/input/gameinput/structs/gameinputversion.md)\
[IGameInputDevice::GetHardwareVersion](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_gethardwareversion.md)

## Version History

| Version | Changes |
| - | - |
| **v4** | Introduced. |


## Related topics

- [IGameInputDevice::GetHardwareVersion](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_gethardwareversion.md)
- [GameInputVersion](https://docs.xbox.com/reference/input/gameinput/structs/gameinputversion.md)
- [IGameInputDevice::GetXInputDeviceIndex](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getxinputdeviceindex.md)
- [IGameInputDevice::GetDeviceId](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceid.md)
- [IGameInputDevice::GetDeviceFamily](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdevicefamily.md)
