HidGameControllerProvider.SendFeatureReport(Byte, Byte[]) Method

Definition

Sends the specified HID (Human Interface Device) feature report to the device.

public:
 virtual void SendFeatureReport(byte reportId, Platform::Array <byte> ^ reportBuffer) = SendFeatureReport;
void SendFeatureReport(byte const& reportId, winrt::array_view <byte> const& reportBuffer);
public void SendFeatureReport(byte reportId, byte[] reportBuffer);
function sendFeatureReport(reportId, reportBuffer)
Public Sub SendFeatureReport (reportId As Byte, reportBuffer As Byte())

Parameters

reportId
Byte

byte

The ID of the report to send.

reportBuffer

Byte[]

byte[]

The buffer containing the report data to send.

Remarks

When using this method for your own custom classes, make sure to pass in a valid report ID that is supported by your device; otherwise, the device will ignore it. Also make sure that your report buffer is the correct size and has valid contents.

The report that you send from this method is the raw, unmodified version in its original format; no parsing is done on it.

Applies to