Skip to main content
Gets the hardware version of the input device.

Syntax

Parameters

version   _Out_
Type: GameInputVersion*
Receives the hardware version of the device.

Return value

Type: void

Remarks

Not all devices report a hardware version. If the device doesn’t report one, all members of version are set to 0. The hardware version doesn’t change for the lifetime of the device object. In GameInput v3 and earlier, this information was available from the hardwareVersion member of the GameInputDeviceInfo structure returned by IGameInputDevice::GetDeviceInfo.

Requirements

Header: GameInput.h Library: gameinput.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Overview of GameInput
IGameInputDevice
GameInputVersion
IGameInputDevice::GetFirmwareVersion
IGameInputDevice::GetRevisionNumber

Version History

Last modified on November 5, 2026