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

Syntax

Parameters

This method has no parameters.

Return value

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

Remarks

Feature reports are raw reports that carry device configuration or status data and that an application reads or writes on demand. Read a feature report by calling GetRawDeviceFeature. To write one, create a report by calling CreateRawDeviceReport with the report ID and GameInputRawFeatureReport, fill it with IGameInputRawDeviceReport::SetRawData, and pass it to SetRawDeviceFeature. Feature reports are currently exposed for HID devices. Use the returned value to size the array that you pass to GetFeatureReportInfo. The number of feature reports doesn’t change while the device is connected.

Requirements

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

See also

Overview of GameInput
GetFeatureReportInfo
GameInputRawDeviceReportInfo
IGameInputRawDeviceReport
GetRawDeviceFeature
SetRawDeviceFeature
CreateRawDeviceReport
Advanced GameInput topics
IGameInputDevice

Version History

Last modified on November 5, 2026