HidGameControllerProvider.SendOutputReport(Byte, Byte[]) Method

Definition

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

public:
 virtual void SendOutputReport(byte reportId, Platform::Array <byte> ^ reportBuffer) = SendOutputReport;
void SendOutputReport(byte const& reportId, winrt::array_view <byte> const& reportBuffer);
public void SendOutputReport(byte reportId, byte[] reportBuffer);
function sendOutputReport(reportId, reportBuffer)
Public Sub SendOutputReport (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 function is the raw, unmodified version in its original format; no parsing is done on it.

Applies to