IGameInputRawDeviceReport

Note

This interface is not yet implemented.

Represents a raw byte buffer passed to or from an input device. Encapsulates input, output, and feature reports. This allows the GameInput implementation to control ownership of the memory buffers, track which device the raw report is associated with, and account for any differences in headers/formatting between the various supported device protocols.

Syntax

class IGameInputRawDeviceReport : public IUnknown  

Methods

Method Description
GetDevice method Retrieves the device associated with the raw device report.
GetItemValue IGameInputRawDeviceReport GetItemValue API reference
GetRawData Retrieves the report buffer contents in raw byte form.
GetRawDataSize Returns the size of the raw report buffer in bytes.
IGameInputRawDeviceReport::GetReportInfo Returns a pointer to a raw device report.
ResetAllItems IGameInputRawDeviceReport ResetAllItems API reference
ResetItemValue Resets a device report item to its original "rest" value.
SetItemValue IGameInputRawDeviceReport SetItemValue API reference
SetRawData Sets the contents of the report buffer.

Remarks

This is used for "raw" devices. Generally meant for OEMs that want to publish SDKs for their raw devices or to expose some additional functionality beyond what the GameInput API allows.

Requirements

Header: GameInput.h

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

See also

Input API Overview
GameInput