Skip to main content
Gets the hardware revision number of the input device.

Syntax

Parameters

This method has no parameters.

Return value

Type: uint16_t The hardware revision number of the device, or 0 if the device doesn’t report one.

Remarks

The revision number distinguishes between hardware revisions of a device model that share the same vendor ID and product ID. For USB and HID devices, this is typically the revision number that the device reports to the operating system. The revision number doesn’t change for the lifetime of the device object. In GameInput v3 and earlier, this information was available from the revisionNumber 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
IGameInputDevice::GetVendorId
IGameInputDevice::GetProductId
IGameInputDevice::GetHardwareVersion

Version History

Last modified on November 5, 2026