GameInputRawDeviceReportInfo

Describes a report of the raw stream from an input device. These reports are only supported for Game Input Protocol (GIP) devices.

Syntax

struct GameInputRawDeviceReportInfo
{
    GameInputRawDeviceReportKind kind;
    uint32_t id;
    uint32_t size;
};

Members

kind
Type: GameInputRawDeviceReportKind

The type of this report.

id
Type: uint32_t

The ID of this report. For Game Input Protocol (GIP) devices, this represents the message ID.

size
Type: uint32_t

The size of this report.

Remarks

This structure is returned by the IGameInputDevice::GetInputReportInfo, IGameInputDevice::GetOutputReportInfo, and IGameInputDevice::GetFeatureReportInfo methods. In GameInput v3 and earlier, it was a member of the GameInputDeviceInfo structure returned by IGameInputDevice::GetDeviceInfo.

For intermediate and advanced use cases of the GameInput API, see Advanced GameInput topics.

Requirements

Header: GameInput.h

Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Overview of GameInput
GameInput

Version History

Version Changes
v3 Re-introduced (was present in v0, absent in v1 and v2). For v3+ version is simplified: itemCount and items pointer removed. Only kind, id, and size remain.
v2 Not present (removed in v1).
v1 Not present (removed from v0).
v0 Introduced.

Appendix: Previous versions

v0

struct GameInputRawDeviceReportInfo
{
    GameInputRawDeviceReportKind           kind;
    uint32_t                               id;
    uint32_t                               size;
    uint32_t                               itemCount;
    GameInputRawDeviceItemInfo const*      items;
};