Skip to main content
Gets the number of raw input reports that the device defines.

Syntax

Parameters

This method has no parameters.

Return value

Type: uint32_t The number of input reports that the device defines, or 0 if the device has no input reports or doesn’t expose raw reports.

Remarks

Input reports are the raw reports that a device sends to the system. When the value returned by GetSupportedInput includes GameInputKindRawDeviceReport, readings from the device carry the raw input report, which you can retrieve by calling IGameInputReading::GetRawReport. Use the returned value to size the array that you pass to GetInputReportInfo. The number of input reports doesn’t change while the device is connected. In GameInput v3 and earlier, this information was available from the inputReportCount 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
GetInputReportInfo
GameInputRawDeviceReportInfo
IGameInputRawDeviceReport
IGameInputReading::GetRawReport
Advanced GameInput topics
IGameInputDevice

Version History

Last modified on November 5, 2026